Skip to content

Commit 12a7f0c

Browse files
committed
chore: update workflow
1 parent 6b0c3a2 commit 12a7f0c

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,14 @@ on:
88
jobs:
99
release:
1010
name: Release on GitHub
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-22.04
1212
permissions:
1313
contents: write
1414
steps:
15-
- name: Get release information
16-
id: release_info
17-
run: |
18-
echo ::set-output name=TAG::${GITHUB_REF/refs\/tags\//}
19-
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
2015
- name: Create GitHub release
2116
uses: softprops/action-gh-release@v1
2217
with:
23-
tag_name: ${{ steps.release_info.outputs.TAG }}
24-
name: ${{ steps.release_info.outputs.TAG }}
18+
tag_name: ${{ github.ref_name }}
19+
name: ${{ github.ref_name }}
2520
body: >
2621
Learn more about this release from the [changelog](https://github.com/dessant/support-requests/blob/master/CHANGELOG.md#changelog).

0 commit comments

Comments
 (0)