File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 7
7
types :
8
8
- closed
9
9
10
+ permissions :
11
+ contents : write
12
+
10
13
jobs :
11
14
build-and-package :
12
15
runs-on : ubuntu-latest
17
20
steps :
18
21
- name : Check out code
19
22
uses : actions/checkout@v4
23
+ with :
24
+ persist-credentials : true
20
25
21
26
- name : Set up JDK 17 from GraalVM
22
27
run : |
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
41
50
- name : Publish Release
42
51
uses : softprops/action-gh-release@v1
You can’t perform that action at this time.
0 commit comments