Skip to content

Commit ccb6a23

Browse files
committed
fix GHA set-output warnings
1 parent e11d5d9 commit ccb6a23

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ jobs:
8787
PYTHONDONTWRITEBYTECODE: 1
8888
run: |
8989
python -c 'import version; print(version.VERSION_FULL)'
90-
echo "::set-output name=launcher::$(python -c 'import version; print(version.VERSION_FULL)')"
91-
echo "::set-output name=release::$(python -c 'import version; print(version.VERSION_FULL)' | sed 's/\(\.[1-9]\)\..*/\1/')"
90+
echo "launcher=$(python -c 'import version; print(version.VERSION_FULL)')" >> $GITHUB_OUTPUT
91+
echo "release=$(python -c 'import version; print(version.VERSION_FULL)' | sed 's/\(\.[1-9]\)\..*/\1/')" >> $GITHUB_OUTPUT
9292
9393
- name: Populate dist directory
9494
run: |
@@ -195,8 +195,8 @@ jobs:
195195
working-directory: fujinet-pc-launcher
196196
run: |
197197
python -m launcher -V
198-
echo "::set-output name=fujinet::$(python -m launcher -V | awk '{if(tolower($1)=="fujinet-pc" && tolower($2)=="launcher") print $3}')"
199-
echo "::set-output name=release::$(python -m launcher -V | awk '{if(tolower($1)=="fujinet-pc" && tolower($2)=="launcher") print $3}' | sed 's/\(\.[1-9]\)\..*/\1/')"
198+
echo "fujinet=$(python -m launcher -V | awk '{if(tolower($1)=="fujinet-pc" && tolower($2)=="launcher") print $3}')" >> $GITHUB_OUTPUT
199+
echo "release=$(python -m launcher -V | awk '{if(tolower($1)=="fujinet-pc" && tolower($2)=="launcher") print $3}' | sed 's/\(\.[1-9]\)\..*/\1/')" >> $GITHUB_OUTPUT
200200
201201
- name: Update dist with emulator files
202202
if: ${{ github.event.inputs.releaseBuild == 'true' }}

0 commit comments

Comments
 (0)