Skip to content

Commit 183061a

Browse files
committed
ci: convert deprecated output commands to file-based successor
1 parent a0adae8 commit 183061a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- name: Get tag version
1515
id: tag_name
16-
run: echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
16+
run: echo "SOURCE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
1717
- name: Get repo name
1818
id: repo_name
19-
run: echo ::set-output name=REPOSITORY_NAME::$(echo "$GITHUB_REPOSITORY" | sed -e "s/:refs//")
19+
run: echo "REPOSITORY_NAME=$(echo "$GITHUB_REPOSITORY" | sed -e "s/:refs//")" >> $GITHUB_OUTPUT
2020
- name: Build a release
2121
run: |
2222
bash create_release.sh $SOURCE_TAG

0 commit comments

Comments
 (0)