Replace deprecated command with environment file

Closes gh-1062
Signed-off-by: jongwooo <jongwooo.han@gmail.com>
This commit is contained in:
jongwooo
2023-02-05 20:58:39 +09:00
committed by Steve Riesenberg
parent 0d9fbb375f
commit 70fade4ffa

View File

@@ -24,10 +24,10 @@ jobs:
if: env.RUN_JOBS == 'true'
run: |
# Run jobs if in upstream repository
echo "::set-output name=runjobs::true"
echo "runjobs=true" >> $GITHUB_OUTPUT
# Extract version from gradle.properties
version=$(cat gradle.properties | grep "version=" | awk -F'=' '{print $2}')
echo "::set-output name=project_version::$version"
echo "project_version=$version" >> $GITHUB_OUTPUT
build:
name: Build
needs: [prerequisites]