We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96bd247 commit b693d70Copy full SHA for b693d70
.github/workflows/release.yml
@@ -0,0 +1,23 @@
1
+name: Release
2
+on:
3
+ push:
4
+ tags:
5
+ - v*
6
+jobs:
7
+ publish:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+ name: Checkout
12
+ - name: Create release
13
+ uses: actions/github-script@v7
14
+ with:
15
+ github-token: "${{ secrets.GITHUB_TOKEN }}"
16
+ script: |
17
+ await github.rest.repos.createRelease({
18
+ owner: context.repo.owner,
19
+ repo: context.repo.repo,
20
+ tag_name: "${{ github.ref }}",
21
+ name: "${{ github.ref_name }}",
22
+ generate_release_notes: true
23
+ })
0 commit comments