We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ecb6b5 commit ff8e5adCopy full SHA for ff8e5ad
.github/workflows/build.yml
@@ -17,6 +17,26 @@ concurrency:
17
permissions: {}
18
19
jobs:
20
+ try-release:
21
+ runs-on: ubuntu-latest
22
+ permissions:
23
+ contents: write
24
+ steps:
25
+ - name: Create release assotiated with the tag
26
+ env:
27
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
+ TARGET: ${{ github.sha }}
29
+ run: >
30
+ gh api
31
+ --method POST
32
+ -H "Accept: application/vnd.github+json"
33
+ -H "X-GitHub-Api-Version: 2022-11-28"
34
+ /repos/${GH_REPOSITORY}/releases
35
+ -f "tag_name=$TAG"
36
+ -f "target_commitish=$TARGET"
37
+ -f "name=$TAG"
38
+ -f "body=Automatic release for $TAG"
39
+ -F "generate_release_notes=true"
40
meta:
41
runs-on: ubuntu-latest
42
outputs:
0 commit comments