Using new GITHUB_OUTPUT method

This commit is contained in:
Tobias Genannt
2023-01-28 15:42:32 +01:00
parent f549b93b9d
commit eef45c8197
4 changed files with 17 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
# Builds the latest released version
source ./build-functions/gh-functions.sh
echo "▶️ $0 $*"
@@ -75,10 +76,7 @@ if [ "${PRERELEASE}" == "true" ]; then
echo "❎ Latest unstable version '${VERSION}' is not higher than the latest stable version '$STABLE_VERSION'."
if [ -z "$DEBUG" ]; then
if [ -n "${GH_ACTION}" ]; then
echo "::set-output name=skipped::true"
fi
gh_out "skipped=true"
exit 0
else
echo "⚠️ Would exit here with code '0', but DEBUG is enabled."