Skip to content

Commit bb12024

Browse files
committed
fix(ci): remove set-output usage
1 parent b164335 commit bb12024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-on-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919

2020
- name: Get the version
2121
id: get_version
22-
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
22+
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
2323

2424
- name: Publish plugin
2525
uses: gradle/gradle-build-action@v2
2626
with:
2727
arguments: |
28-
-Pversion=${{ steps.get_version.outputs.VERSION }}
28+
-Pversion=${{ env.RELEASE_VERSION }}
2929
-Pintellij.publish.token=${{ secrets.INTELLIJ_PUBLISH_TOKEN }}
3030
build publishPlugin
3131

0 commit comments

Comments
 (0)