Skip to content

Commit

Permalink
Merge pull request #14 from stakpak/stakpak-4425
Browse files Browse the repository at this point in the history
Feat: Add Config Files
  • Loading branch information
kajogo777 authored Jan 6, 2025
2 parents 0a026eb + 836d37d commit 0453130
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 0453130

Please sign in to comment.