Skip to content

Commit

Permalink
fix: use different condition for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bartvdbraak committed Feb 25, 2024
1 parent 5678fb6 commit 2c1d330
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@ jobs:
dst="keyweave-${{ matrix.target }}"
mkdir -p "$dst" dist
cp "$bin" "$dst/"
if [[ ${{ !startsWith(matrix.name, 'windows') }} ]] ; then
if [[ "${{ matrix.name }}" == windows-* ]] ; then
mv "$dst/keyweave${ext}" dist/keyweave-${{ matrix.target }}.exe
else
tar cavf "$dst.tar.xz" "$dst"
mv "$dst.tar.xz" dist/
else
mv "$dst/keyweave${ext}" dist/keyweave-${{ matrix.target }}.exe
fi
- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
run: |
unzip dist-*.zip
- name: Unzip and Checksums with SHA512 and SHA256
- name: Checksums with SHA512 and SHA256
run: |
sha512sum keyweave-* | tee SHA512SUMS
sha256sum keyweave-* | tee SHA256SUMS
Expand Down

0 comments on commit 2c1d330

Please sign in to comment.