1
0
mirror of synced 2026-01-07 09:01:31 -05:00

Remove actions-save-state-set-output-envs because it's always true (#49935)

This commit is contained in:
Peter Bengtsson
2024-06-07 11:14:48 -04:00
committed by GitHub
parent 358977ec7f
commit 3891351ebf
12 changed files with 26 additions and 239 deletions

View File

@@ -406,18 +406,10 @@ jobs:
output1: ${{ steps.step1.outputs.firstword }}
output2: ${{ steps.step2.outputs.secondword }}
steps:
- id: step1{% endraw %}
{%- ifversion actions-save-state-set-output-envs %}
- id: step1
run: echo "firstword=hello" >> $GITHUB_OUTPUT
{%- else %}
run: echo "::set-output name=firstword::hello"
{%- endif %}{% raw %}
- id: step2{% endraw %}
{%- ifversion actions-save-state-set-output-envs %}
- id: step2
run: echo "secondword=world" >> $GITHUB_OUTPUT
{%- else %}
run: echo "::set-output name=secondword::world"
{%- endif %}{% raw %}
```
{% endraw %}