We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38c924a + d7df56e commit 6063ca8Copy full SHA for 6063ca8
1 file changed
.github/workflows/main.yml
@@ -7,6 +7,9 @@ on:
7
types:
8
- closed
9
10
+permissions:
11
+ contents: write
12
+
13
jobs:
14
build-and-package:
15
runs-on: ubuntu-latest
@@ -17,6 +20,8 @@ jobs:
17
20
steps:
18
21
- name: Check out code
19
22
uses: actions/checkout@v4
23
+ with:
24
+ persist-credentials: true
25
26
- name: Set up JDK 17 from GraalVM
27
run: |
@@ -36,7 +41,11 @@ jobs:
36
41
run: echo "::set-output name=tag::$(date +'%Y%m%dT%H%M%S')"
37
42
38
43
- name: Create Git Tag
39
- run: git tag ${{ steps.newtag.outputs.tag }} && git push origin ${{ steps.newtag.outputs.tag }}
44
+ run: |
45
+ git config --global user.name 'GitHub Actions'
46
+ git config --global user.email 'actions@github.com'
47
+ git tag ${{ steps.newtag.outputs.tag }}
48
+ git push origin ${{ steps.newtag.outputs.tag }}
40
49
50
- name: Publish Release
51
uses: softprops/action-gh-release@v1
0 commit comments