diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4343058..84669a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,16 +34,17 @@ jobs: # if: startsWith(matrix.host, 'ubuntu') # run: scripts/install-ubuntu-packages - uses: taiki-e/upload-rust-binary-action@v1 + id: build with: bin: qcp token: ${{ secrets.GITHUB_TOKEN }} target: ${{ matrix.target }} - include: README.md, LICENSE, CHANGELOG.md + include: README.md,LICENSE,CHANGELOG.md + leading-dir: true tar: unix zip: windows dry_run: true # TEMP, for testing - - run: ls -l *.tar.gz # TEST - uses: actions/upload-artifact@v4 with: name: binary-${{ matrix.target }} - path: qcp-${{ github.ref_name }}-${{ matrix.target }}.tar.gz + path: ${{ steps.build.outputs.archive }}.tar.gz