Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisoft committed Jul 27, 2024
1 parent c801128 commit 2dc3cc5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/doit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,12 @@ jobs:
- uses: milliewalky/setup-7-zip@v1

- name: ReZip kernels
if: ${{ github.actor == github.repository_owner && secrets.ARCHIVE_PASSWORD }}
if: ${{ github.actor == github.repository_owner }}
run: |
if [ -z "${{ secrets.ARCHIVE_PASSWORD }}" ]; then
echo "ARCHIVE_PASSWORD secret is not set"
exit 1
fi
mkdir -p tmp
7z x kernels.zip -otmp
7z a -t7z -mx=9 -p"${{ secrets.ARCHIVE_PASSWORD }}" kernels.7z tmp/*
Expand Down

0 comments on commit 2dc3cc5

Please sign in to comment.