From cf1b1780500d797e58af9053795a87e83cc6cfac Mon Sep 17 00:00:00 2001 From: Dan Yeaw Date: Sat, 9 Sep 2023 13:14:48 -0400 Subject: [PATCH] Fix release fails for wrong filenames --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecc1d1abf..a41059d17 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,9 +97,6 @@ jobs: runs-on: windows-latest timeout-minutes: 75 if: "!contains(github.event.head_commit.message, 'skip ci')" - outputs: - targz: gvsbuild-${{ steps.meta.outputs.version }}.tar.gz - wheel: gvsbuild-${{ steps.meta.outputs.version }}-py3-none-any.whl strategy: matrix: gtk-version: ['3', '4'] @@ -174,12 +171,12 @@ jobs: - name: Download tar.gz uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: - name: ${{ needs.build.outputs.targz }} + name: gvsbuild-${{ github.event.release.tag_name }}.tar.gz path: dist - name: Download wheel uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 with: - name: ${{ needs.build.outputs.wheel }} + name: gvsbuild-${{ github.event.release.tag_name }}-py3-none-any.whl path: dist - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@f5622bde02b04381239da3573277701ceca8f6a0 # release/v1