Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ityuany committed Apr 18, 2024
1 parent e8993b6 commit 717947f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ jobs:
run: |
mkdir archive
if [ "${{ matrix.build }}" = "windows" ]; then
cp LICENSE README.md target/${{ matrix.target }}/release/{node.exe,npm.exe,npx.exe,pnpm.exe,pnpx.exe,yarn.exe,snm.exe} archive/
7z a ${{ matrix.archive-name }}.7z archive/*
cp target/${{ matrix.target }}/release/{node.exe,npm.exe,npx.exe,pnpm.exe,pnpx.exe,yarn.exe,snm.exe} archive/
7z a ${{ matrix.archive-name }} archive/*
else
cp LICENSE README.md target/${{ matrix.target }}/release/{node,npm,npx,pnpm,pnpx,yarn,snm} archive/
tar -czf ${{ matrix.archive-name }}.tar.gz -C archive/*
cp target/${{ matrix.target }}/release/{node,npm,npx,pnpm,pnpx,yarn,snm} archive/
tar -czf ${{ matrix.archive-name }} -C archive/*
fi
- name: Upload archive
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 717947f

Please sign in to comment.