From a66c8ee7ab0b219163c0f906f247828863b8cd78 Mon Sep 17 00:00:00 2001 From: Christopher Schwan Date: Fri, 23 Feb 2024 15:23:42 +0100 Subject: [PATCH] Rename upload targets to fix problem in release CI --- .github/workflows/release.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 99af7eca..2eb11c68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -121,7 +121,7 @@ jobs: cd ../pineappl_cli cargo publish - linux-wheels: + wheels-linux: runs-on: ubuntu-latest strategy: matrix: @@ -140,10 +140,10 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-${{ runs-on }}-${{ matrix.target }} + name: ${{ github.job }}-${{ matrix.target }} path: dist - linux-eol-wheels: + wheels-eol-linux: runs-on: ubuntu-latest strategy: matrix: @@ -180,10 +180,10 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-${{ runs-on }}-${{ matrix.target }} + name: ${{ github.job }}-${{ matrix.target }} path: dist - windows-wheels: + wheels-windows: runs-on: windows-latest strategy: matrix: @@ -216,10 +216,10 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-${{ runs-on }}-${{ matrix.target }} + name: ${{ github.job }}-${{ matrix.target }} path: dist - macos-wheels: + wheels-macos: runs-on: macos-latest strategy: matrix: @@ -251,10 +251,10 @@ jobs: - name: Upload wheels uses: actions/upload-artifact@v4 with: - name: wheels-${{ runs-on }}-${{ matrix.target }} + name: ${{ github.job }}-${{ matrix.target }} path: dist - sdist: + wheels-sdist: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -266,14 +266,14 @@ jobs: - name: Upload sdist uses: actions/upload-artifact@v4 with: - name: wheels-${{ runs-on }}-sdist + name: ${{ github.job }} path: dist release-wheels: name: Release runs-on: ubuntu-latest if: "startsWith(github.ref, 'refs/tags/')" - needs: [linux-eol-wheels, linux-wheels, windows-wheels, macos-wheels, sdist] + needs: [wheels-eol-linux, wheels-linux, wheels-macos, wheels-sdist, wheels-windows] steps: - uses: actions/download-artifact@v4 with: