Skip to content

Commit

Permalink
Updated pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tsoj committed Jul 11, 2024
1 parent 97a8685 commit 3d20231
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,19 @@ jobs:
nimble install [email protected]
if [ ${{ runner.os }} = 'macOS' ]; then
nim default Nalwald
nim modern Nalwald
else
nim default --passL:"-static" Nalwald
nim modern --passL:"-static" Nalwald
fi
mv bin/Nalwald${{ runner.os == 'Windows' && '.exe' || '' }} bin/Nalwald-${{ github.event.release.tag_name }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}${{ runner.os == 'Windows' && '.exe' || '' }}
mv bin/Nalwald-modern${{ runner.os == 'Windows' && '.exe' || '' }} bin/Nalwald-${{ github.event.release.tag_name }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}-modern${{ runner.os == 'Windows' && '.exe' || '' }}
- name: Upload release asset
uses: softprops/action-gh-release@v2
with:
files: ./Nalwald/bin/Nalwald-${{ github.event.release.tag_name }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}${{ runner.os == 'Windows' && '.exe' || '' }}
files: |
./Nalwald/bin/Nalwald-${{ github.event.release.tag_name }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}${{ runner.os == 'Windows' && '.exe' || '' }}
./Nalwald/bin/Nalwald-${{ github.event.release.tag_name }}-${{ matrix.target.os }}-${{ matrix.target.cpu }}-modern${{ runner.os == 'Windows' && '.exe' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3d20231

Please sign in to comment.