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 cca8c1f commit a360becCopy full SHA for a360bec
.github/workflows/release-on-merge.yml
@@ -5,7 +5,7 @@ on:
5
branches: [ master ]
6
7
jobs:
8
- tag:
+ release:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v2
@@ -21,16 +21,9 @@ jobs:
21
echo "::set-output name=tagname::2.1.${PATCH}"
22
23
- name: Create Tag
24
- uses: actions/github-script@v3
25
- with:
26
- github-token: ${{ github.token }}
27
- script: |
28
- github.git.createRef({
29
- owner: context.repo.owner,
30
- repo: context.repo.repo,
31
- ref: "refs/tags/${{ steps.compute-tag.outputs.tagname }}",
32
- sha: context.sha
33
- })
+ run: |
+ git tag ${{ steps.compute-tag.outputs.tagname }}
+ git push origin ${{ steps.compute-tag.outputs.tagname }}
34
35
- name: Create release
36
uses: ncipollo/release-action@v1
0 commit comments