fix(ci): use outcome instead of conclusion (#9792)

According to the documentation [0]:

> When a `continue-on-error step` fails, the `outcome` is `failure`, but
the final `conclusion` is `success`.

We update the action accordingly to make our retry mechanism work.

[0]:
https://docs.github.com/es/actions/reference/contexts-reference#steps-context

Signed-off-by: Thomas Eizinger <thomas@eizinger.io>
This commit is contained in:
Thomas Eizinger
2025-07-06 09:44:31 +01:00
committed by GitHub
parent b20c141759
commit ced0579f93

View File

@@ -18,7 +18,7 @@ runs:
create_credentials_file: true
- id: auth2
if: ${{ steps.auth1.conclusion == 'failure' }}
if: ${{ steps.auth1.outcome == 'failure' }}
uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10
continue-on-error: true
with:
@@ -29,7 +29,7 @@ runs:
create_credentials_file: true
- id: auth3
if: ${{ steps.auth2.conclusion == 'failure' }}
if: ${{ steps.auth2.outcome == 'failure' }}
uses: google-github-actions/auth@ba79af03959ebeac9769e648f473a284504d9193 # v2.1.10
with:
token_format: access_token