mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
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:
4
.github/actions/gcp-docker-login/action.yml
vendored
4
.github/actions/gcp-docker-login/action.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user