Skip to content

Commit

Permalink
Updated release workflow to use new environment file instead of set env.
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Tegnér <[email protected]>
  • Loading branch information
Johannestegner committed Oct 28, 2021
1 parent f2cd1aa commit f853ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Build with Gradle
run: gradle build
- name: Set version
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF#refs/*/}
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Publish to GitHub Packages
run: gradle publish
env:
Expand Down

0 comments on commit f853ef6

Please sign in to comment.