Skip to content

Commit

Permalink
TO-DROP: test in my fork
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Sep 13, 2024
1 parent 8511859 commit 152a75d
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ci-artifacts
on:
push:
branches:
- main
- publish-release-asset
pull_request:

# For the continuous `ci-artifacts` release
Expand All @@ -15,7 +15,7 @@ env:

jobs:
minimal-sdk-artifact:
if: github.event.repository.fork == false
# if: github.event.repository.fork == false
runs-on: windows-latest
steps:
- name: clone git-sdk-64
Expand Down Expand Up @@ -60,7 +60,8 @@ jobs:
name: git-artifacts
path: git-artifacts.tar.gz
- name: create zip and 7z SFX variants of the minimal SDK
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.ref == 'refs/heads/publish-release-asset'
shell: bash
run: |
for path in mingw64/bin/7z.exe mingw64/bin/7z.dll mingw64/lib/7zip/7zCon.sfx
Expand All @@ -72,7 +73,8 @@ jobs:
(cd minimal-sdk && ../7z.exe a -t7z -m0=lzma -mqs -mlc=8 -mx=9 -md=256M -mfb=273 -ms=256M -sfx../7zCon.sfx \
../minimal-sdk-extra/git-sdk-x86_64-minimal.7z.exe * .?*)
- name: upload minimal-sdk-extra artifacts
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.ref == 'refs/heads/publish-release-asset'
uses: actions/upload-artifact@v4
with:
name: minimal-sdk-extra
Expand Down Expand Up @@ -177,7 +179,8 @@ jobs:
test "grep is /usr/bin/grep" = "$(type grep)" || exit 1
grep README unzip-test.out
publish-release-assets:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
# if: github.event_name == 'push' && github.ref == 'refs/heads/main'
if: github.event_name == 'push' && github.ref == 'refs/heads/publish-release-asset'
runs-on: ubuntu-latest
needs: [test-minimal-sdk, assorted-validations]
steps:
Expand Down

0 comments on commit 152a75d

Please sign in to comment.