Skip to content

Commit

Permalink
ci: release 0.0.4
Browse files Browse the repository at this point in the history
Release-As: 0.0.4
  • Loading branch information
Zel9278 committed Jan 22, 2024
1 parent c6c517a commit 414a9f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ jobs:
cp target/${{ matrix.target }}/release/jbox target/${{ matrix.target }}/zip
cp -r assets target/${{ matrix.target }}/zip
cd target/${{ matrix.target }}/zip
tar -czf ${{ matrix.target }}.tar.gz .
tar -czf ../${{ matrix.target }}.tar.gz *
- name: zip for windows
if: matrix.target == 'x86_64-pc-windows-msvc' || matrix.target == 'x86_64-pc-windows-gnu'
run: |
mkdir -p target/${{ matrix.target }}/zip
cp target/${{ matrix.target }}/release/jbox.exe target/${{ matrix.target }}/zip
cp -r assets target/${{ matrix.target }}/zip
cd target/${{ matrix.target }}/zip
powershell Compress-Archive -Path * -DestinationPath ${{ matrix.target }}.zip
powershell Compress-Archive -Path * -DestinationPath ../${{ matrix.target }}.zip
- uses: actions/upload-artifact@694cdabd8bdb0f10b2cea11669e1bf5453eed0a6 # v4.2.0
with:
name: ${{ matrix.target }}
Expand All @@ -74,7 +74,7 @@ jobs:
target/${{ matrix.target }}/zip/assets
- name: Upload to release
if: ${{ inputs.tag-name }}
working-directory: target/${{ matrix.target }}/release/
working-directory: target/${{ matrix.target }}/
run: |
if [[ "${{ matrix.target }}" == "x86_64-unknown-linux-gnu" ]]; then
filename="${{ matrix.target }}.tar.gz"
Expand Down

0 comments on commit 414a9f5

Please sign in to comment.