From 9f7e00f6a47ae40175565a18b242b36be8ed06cf Mon Sep 17 00:00:00 2001 From: Leroy Hopson Date: Mon, 1 Apr 2024 10:00:10 +1300 Subject: [PATCH] fix(ci): remove run_attempt from build name By including run_attempt in build name, workflows could fail if only re-running failed jobs. --- .github/workflows/main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e4b03a5..62e6eab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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