From 01f9389f1f31f19b3ed7b95ada56b1134db29051 Mon Sep 17 00:00:00 2001 From: Ross Younger Date: Mon, 28 Oct 2024 21:04:57 +1300 Subject: [PATCH] fix release workflow --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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