fix(ci): remove run_attempt from build name

By including run_attempt in build name, workflows could fail if only
re-running failed jobs.
This commit is contained in:
Leroy Hopson 2024-04-01 10:00:10 +13:00
parent 5232d24e6f
commit 9f7e00f6a4
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA

View file

@ -7,7 +7,7 @@ on:
jobs:
build-linux:
name: "Build (linux, ${{ matrix.arch }}, ${{ matrix.target }}) #${{ github.run_number }}/${{ github.run_attempt }}"
name: "Build (linux, ${{ matrix.arch }}, ${{ matrix.target }}) #${{ github.run_number }}"
runs-on: ubuntu-22.04
strategy:
fail-fast: false
@ -47,7 +47,7 @@ jobs:
path: addons/godot_xterm/native/bin/*.so
build-other-platforms:
name: "Build (${{ matrix.platform }}, ${{ matrix.arch }}, ${{ matrix.target}}) #${{ github.run_number }}/${{ github.run_attempt }}"
name: "Build (${{ matrix.platform }}, ${{ matrix.arch }}, ${{ matrix.target}}) #${{ github.run_number }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
@ -193,13 +193,13 @@ jobs:
uses: fountainhead/action-wait-for-check@v1.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: "Build (web, wasm32, release) #${{ github.run_number }}/${{ github.run_attempt }}"
checkName: "Build (web, wasm32, release) #${{ github.run_number }}"
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Wait for linux build # Required for linux-based editor to recognize the GDExtension node types.
uses: fountainhead/action-wait-for-check@v1.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: "Build (linux, x86_64, debug) #${{ github.run_number }}/${{ github.run_attempt }}"
checkName: "Build (linux, x86_64, debug) #${{ github.run_number }}"
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Install binary build artifacts
uses: actions/download-artifact@v4
@ -279,7 +279,7 @@ jobs:
uses: fountainhead/action-wait-for-check@v1.2.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
checkName: "Build (${{ matrix.platform }}, ${{ matrix.arch }}, debug) #${{ github.run_number }}/${{ github.run_attempt }}"
checkName: "Build (${{ matrix.platform }}, ${{ matrix.arch }}, debug) #${{ github.run_number }}"
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Install binary build artifacts
uses: actions/download-artifact@v4