ci: Removing set-output in CI workflows as it's a deprecated command. (#29279)
Using GITHUB_OUTPUT to save environment variables instead. This is to remove lots of warnings in the CI run and make it easier to read the summary.
This commit is contained in:
parent
08f625e754
commit
58c62e0bbc
2
.github/workflows/add-label.yml
vendored
2
.github/workflows/add-label.yml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
echo "No files changed in the specified folder"
|
||||
exit 1
|
||||
else
|
||||
echo "::set-output name=files_changed_count::$filesChangedCount"
|
||||
echo "files_changed_count=$filesChangedCount" >> $GITHUB_OUTPUT
|
||||
fi
|
||||
|
||||
- name: Check if PR is merged
|
||||
|
|
|
|||
3
.github/workflows/ci-test-custom-script.yml
vendored
3
.github/workflows/ci-test-custom-script.yml
vendored
|
|
@ -133,7 +133,7 @@ jobs:
|
|||
|
||||
# Timestamp will be used to create cache key
|
||||
- id: timestamp
|
||||
run: echo "::set-output name=timestamp::$(date +'%Y-%m-%dT%H:%M:%S')"
|
||||
run: echo "timestamp=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
|
||||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
|
|
@ -389,6 +389,7 @@ jobs:
|
|||
CYPRESS_S3_SECRET: ${{ secrets.CYPRESS_S3_SECRET }}
|
||||
CYPRESS_grepTags: ${{ inputs.tags }} # This is a comma separated list of tags to run a subset of the suite
|
||||
CYPRESS_SKIP_FLAKY: true
|
||||
DEBUG: "@cypress/grep"
|
||||
with:
|
||||
browser: ${{ env.BROWSER_PATH }}
|
||||
install: false
|
||||
|
|
|
|||
2
.github/workflows/ci-test-hosted.yml
vendored
2
.github/workflows/ci-test-hosted.yml
vendored
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
|
||||
# Timestamp will be used to create cache key
|
||||
- id: timestamp
|
||||
run: echo "::set-output name=timestamp::$(date +'%Y-%m-%dT%H:%M:%S')"
|
||||
run: echo "timestamp=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
|
||||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
|
|
|
|||
2
.github/workflows/ci-test-limited.yml
vendored
2
.github/workflows/ci-test-limited.yml
vendored
|
|
@ -437,5 +437,5 @@ jobs:
|
|||
# Set status = success
|
||||
- name: Save the status of the run
|
||||
run: |
|
||||
echo "::set-output name=run_result::success"
|
||||
echo "run_result=success" >> $GITHUB_OUTPUT
|
||||
echo "success" > ~/run_result
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ jobs:
|
|||
|
||||
# Timestamp will be used to create cache key
|
||||
- id: timestamp
|
||||
run: echo "::set-output name=timestamp::$(date +'%Y-%m-%dT%H:%M:%S')"
|
||||
run: echo "timestamp=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
|
||||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
|
|
|
|||
2
.github/workflows/ci-test.yml
vendored
2
.github/workflows/ci-test.yml
vendored
|
|
@ -67,7 +67,7 @@ jobs:
|
|||
|
||||
# Timestamp will be used to create cache key
|
||||
- id: timestamp
|
||||
run: echo "::set-output name=timestamp::$(date +'%Y-%m-%dT%H:%M:%S')"
|
||||
run: echo "timestamp=$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_OUTPUT
|
||||
|
||||
# In case this is second attempt try restoring status of the prior attempt from cache
|
||||
- name: Restore the previous run result
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user