Skip to content

Commit

Permalink
adds Stakpak config file
Browse files Browse the repository at this point in the history
  • Loading branch information
stakpak[bot] authored Jan 6, 2025
1 parent 0a026eb commit 836d37d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@ jobs:
cd target/${{ matrix.target }}/release
${{ contains(matrix.os, 'windows') && '7z a ../../../${{ matrix.artifact_name }}.zip ${{ env.BINARY_NAME }}.exe' || 'tar czf ../../../${{ matrix.artifact_name }}.tar.gz ${{ env.BINARY_NAME }}' }}
- name: Prepare binary
if: startsWith(github.ref, 'refs/tags/')
shell: bash
run: |
cd target/${{ matrix.target }}/release
if [ "$RUNNER_OS" == "Windows" ]; then
7z a ../../../${{ matrix.artifact_name }}.zip ${{ env.BINARY_NAME }}.exe
else
tar czf ../../../${{ matrix.artifact_name }}.tar.gz ${{ env.BINARY_NAME }}
fi
- name: Upload artifact
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 836d37d

Please sign in to comment.