Replace deprecated command with environment file
Closes gh-1062 Signed-off-by: jongwooo <jongwooo.han@gmail.com>
This commit is contained in:
committed by
Steve Riesenberg
parent
0d9fbb375f
commit
70fade4ffa
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user