From 98edf482f8536b3990ed25e951862d0c779c5158 Mon Sep 17 00:00:00 2001 From: Dennis Heinze Date: Fri, 19 May 2023 12:14:58 +0200 Subject: [PATCH] Fix deprecated set-output --- .github/workflows/build-strace.yml | 4 ++-- build/targets/build_strace.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-strace.yml b/.github/workflows/build-strace.yml index df90b2f..c5a426a 100644 --- a/.github/workflows/build-strace.yml +++ b/.github/workflows/build-strace.yml @@ -149,11 +149,11 @@ jobs: set +e if git rev-list "strace-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then echo "Tag for strace-v${{ needs.build-x86.outputs.version }} already exists. Skipping release creation." - echo ::set-output name=NEW_RELEASE::"false" + echo "NEW_RELEASE=false" >> $GITHUB_OUTPUT else git tag "strace-v${{ needs.build-x86.outputs.version }}" git push origin "strace-v${{ needs.build-x86.outputs.version }}" - echo ::set-output name=NEW_RELEASE::"true" + echo "NEW_RELEASE=true" >> $GITHUB_OUTPUT fi - name: Create Release diff --git a/build/targets/build_strace.sh b/build/targets/build_strace.sh index 5853c98..b87db5c 100755 --- a/build/targets/build_strace.sh +++ b/build/targets/build_strace.sh @@ -40,9 +40,9 @@ main() { cp "${BUILD_DIRECTORY}/strace/src/strace" "${OUTPUT_DIRECTORY}/strace${version}" echo "[+] Finished building strace ${CURRENT_ARCH}" - echo ::set-output name=PACKAGED_NAME::"strace${version}" - echo ::set-output name=PACKAGED_NAME_PATH::"${OUTPUT_DIRECTORY}/*" - echo ::set-output name=PACKAGED_VERSION::"${version_number}" + echo "PACKAGED_NAME=strace${version}" >> $GITHUB_OUTPUT + echo "PACKAGED_NAME_PATH=${OUTPUT_DIRECTORY}/*" >> $GITHUB_OUTPUT + echo "PACKAGED_VERSION=${version_number}" >> $GITHUB_OUTPUT } main