Renamed Ubuntu builds to Linux

This commit is contained in:
Andrew Murray 2022-03-30 18:33:30 +11:00
parent ca8565ebac
commit 2471dbdd75
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
name: Build Ubuntu wheels name: Build Linux wheels
on: on:
workflow_call: workflow_call:

View File

@ -9,8 +9,8 @@ jobs:
build-commit: "HEAD" build-commit: "HEAD"
artifacts-name: "wheels" artifacts-name: "wheels"
ubuntu: linux:
uses: ./.github/workflows/wheels-ubuntu.yml uses: ./.github/workflows/wheels-linux.yml
with: with:
build-commit: "HEAD" build-commit: "HEAD"
artifacts-name: "wheels" artifacts-name: "wheels"
@ -22,18 +22,18 @@ jobs:
build-commit: "main" build-commit: "main"
artifacts-name: "wheels-latest" artifacts-name: "wheels-latest"
ubuntu-latest: linux-latest:
if: "!startsWith(github.ref, 'refs/tags/')" if: "!startsWith(github.ref, 'refs/tags/')"
uses: ./.github/workflows/wheels-ubuntu.yml uses: ./.github/workflows/wheels-linux.yml
with: with:
build-commit: "main" build-commit: "main"
artifacts-name: "wheels-latest" artifacts-name: "wheels-latest"
release: release:
name: Create Release name: Create Release
runs-on: ubuntu-latest runs-on: linux-latest
if: "startsWith(github.ref, 'refs/tags/')" if: "startsWith(github.ref, 'refs/tags/')"
needs: [macos, ubuntu] needs: [macos, linux]
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
@ -45,7 +45,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
success: success:
needs: [macos, ubuntu, macos-latest, ubuntu-latest] needs: [macos, linux, macos-latest, linux-latest]
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Wheels Successful name: Wheels Successful
steps: steps: