Skip to content

Commit

Permalink
Rename upload targets to fix problem in release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cschwan committed Feb 23, 2024
1 parent fe01b6e commit a66c8ee
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
cd ../pineappl_cli
cargo publish
linux-wheels:
wheels-linux:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit a66c8ee

Please sign in to comment.