Skip to content

Commit

Permalink
fix;
Browse files Browse the repository at this point in the history
  • Loading branch information
twiddli committed Mar 4, 2023
1 parent 4be354e commit d94df36
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,11 @@ jobs:
echo "RELEASE_NAME=happypandax_client-$(node -p "require('./packages/client/package.json').version")-${{ matrix.os }}" >> $GITHUB_ENV
- name: Archive release
run: |
cd packages/client/dist
if [ "${{ matrix.os }}" == "windows-2022" ]; then
cd packages/client/dist
7z a -tzip .zip ./*
else
cd packages/client
tar -zcfv ${{ env.RELEASE_NAME }}.tar.gz dist
tar -czf ../${{ env.RELEASE_NAME }}.tar.gz *
fi
- name: Publish
Expand Down

0 comments on commit d94df36

Please sign in to comment.