Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

fix(buildkite): run cancelled step before tearing down the secret #2605

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/actions/buildkite/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ runs:
path: ${{ inputs.artifactPath }}
if-no-files-found: ${{ inputs.artifactIfNoFilesFound }}

- name: Reset environment
if: always()
shell: bash
run: |
echo "BUILDKITE_API_ACCESS_TOKEN=" >> $GITHUB_ENV

- name: Cancel Buildkite pipeline
if: cancelled() && inputs.waitFor && steps.trigger-buildkite.outputs.build_number
run: |
Expand All @@ -129,3 +123,9 @@ runs:
'${{ steps.trigger-buildkite.outputs.build_number }}' \
'${{ env.BUILDKITE_API_ACCESS_TOKEN }}'
shell: bash

- name: Reset environment
if: always()
shell: bash
run: |
echo "BUILDKITE_API_ACCESS_TOKEN=" >> $GITHUB_ENV
Loading