-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix github workflow deprecating env variable #1158
Fix github workflow deprecating env variable #1158
Conversation
Signed-off-by: Terence <terencelimxp@gmail.com>
@@ -28,7 +28,7 @@ jobs: | |||
--archive-uri ${MAVEN_CACHE} \ | |||
--output-dir . | |||
- name: Get version | |||
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/} | |||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really sure what this command now does...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommended upgrade from github workflow docs.
/retest |
@terryyylim: The following tests failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pyalex, terryyylim The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Terence <terencelimxp@gmail.com>
Signed-off-by: Terence terencelimxp@gmail.com
What this PR does / why we need it:
Github actions will be deprecating
set-env
as described in this blog post. Thus, we need to update it before it causes issues to our ci/cd.Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: