diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 141eedd6..bf0d49d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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