Fix deprecated set-output
This commit is contained in:
parent
20ee0f7d17
commit
98edf482f8
2 changed files with 5 additions and 5 deletions
4
.github/workflows/build-strace.yml
vendored
4
.github/workflows/build-strace.yml
vendored
|
@ -149,11 +149,11 @@ jobs:
|
||||||
set +e
|
set +e
|
||||||
if git rev-list "strace-v${{ needs.build-x86.outputs.version }}".. >/dev/null;then
|
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 "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
|
else
|
||||||
git tag "strace-v${{ needs.build-x86.outputs.version }}"
|
git tag "strace-v${{ needs.build-x86.outputs.version }}"
|
||||||
git push origin "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
|
fi
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
|
|
|
@ -40,9 +40,9 @@ main() {
|
||||||
cp "${BUILD_DIRECTORY}/strace/src/strace" "${OUTPUT_DIRECTORY}/strace${version}"
|
cp "${BUILD_DIRECTORY}/strace/src/strace" "${OUTPUT_DIRECTORY}/strace${version}"
|
||||||
echo "[+] Finished building strace ${CURRENT_ARCH}"
|
echo "[+] Finished building strace ${CURRENT_ARCH}"
|
||||||
|
|
||||||
echo ::set-output name=PACKAGED_NAME::"strace${version}"
|
echo "PACKAGED_NAME=strace${version}" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=PACKAGED_NAME_PATH::"${OUTPUT_DIRECTORY}/*"
|
echo "PACKAGED_NAME_PATH=${OUTPUT_DIRECTORY}/*" >> $GITHUB_OUTPUT
|
||||||
echo ::set-output name=PACKAGED_VERSION::"${version_number}"
|
echo "PACKAGED_VERSION=${version_number}" >> $GITHUB_OUTPUT
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in a new issue