Skip to content

Commit 9a33349

Browse files
Fix set-output function deprecation in build workflow (#792)
* Fix set-output function deprecation in build workflow * Fix writing to GITHUB_OUTPUT env file --------- Co-authored-by: José Echagüe <jechague@genexus.com>
1 parent f76c7d3 commit 9a33349

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/Build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ jobs:
9999
echo "COMMIT_NUMBER=$COMMIT_NUMBER" >> $env:GITHUB_ENV
100100
echo "IsPrerelease=$IsPrerelease" >> $env:GITHUB_ENV
101101
102-
echo "::set-output name=NUGET_PACKAGE_VERSION::$NUGET_PACKAGE_VERSION"
103-
echo "::set-output name=SHOULD_DEPLOY::$SHOULD_DEPLOY"
104-
echo "::set-output name=LAST_COMMITTER::$LAST_COMMITTER"
105-
echo "::set-output name=COMMIT_MESSAGE::$COMMIT_MESSAGE"
102+
echo "NUGET_PACKAGE_VERSION=$NUGET_PACKAGE_VERSION" >> $env:GITHUB_OUTPUT
103+
echo "SHOULD_DEPLOY=$SHOULD_DEPLOY" >> $env:GITHUB_OUTPUT
104+
echo "LAST_COMMITTER=$LAST_COMMITTER" >> $env:GITHUB_OUTPUT
105+
echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> $env:GITHUB_OUTPUT
106106
107107
- name: Write SNK
108108
if: github.repository_owner == 'GeneXusLabs' && steps.buildVariables.outputs.SHOULD_DEPLOY == 'true'

0 commit comments

Comments
 (0)