Skip to content

Commit 493f947

Browse files
Avoid use of deprecated GH actions features
1 parent 1b3b3e6 commit 493f947

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/publish-new-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
2020
VERSION=${BRANCH_NAME#release/}
2121
22-
echo "::set-env name=RELEASE_VERSION::$VERSION"
22+
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
2323
2424
- name: Extract version from branch name (for hotfix branches)
2525
if: startsWith(github.event.pull_request.head.ref, 'hotfix/')
2626
run: |
2727
BRANCH_NAME="${{ github.event.pull_request.head.ref }}"
2828
VERSION=${BRANCH_NAME#hotfix/}
2929
30-
echo "::set-env name=RELEASE_VERSION::$VERSION"
30+
echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
3131
3232
- name: Create Release
3333
uses: thomaseizinger/create-release@1.0.0

0 commit comments

Comments
 (0)