File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 publish :
1212 timeout-minutes : 15
13- runs-on : ubuntu-22 .04
13+ runs-on : ubuntu-24 .04
1414 permissions :
1515 contents : read
1616 packages : write
@@ -29,16 +29,21 @@ jobs:
2929 GITHUB_USER_NAME : ${{ github.actor }}
3030 GITHUB_ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3131
32- tag :
32+ release :
3333 timeout-minutes : 5
34- runs-on : ubuntu-22 .04
34+ runs-on : ubuntu-24 .04
3535 needs : publish
3636 steps :
3737 - uses : actions/checkout@v4
3838
39- - name : Tag Deployment
40- uses : aboutbits /github-actions-base/git-create-or-update-tag@v1
39+ - name : Create GitHub release
40+ uses : actions /github-script@v7
4141 with :
42- tag-name : ${{ github.event.inputs.version }}
43- user-name : ' AboutBits'
44- 42+ script : |
43+ github.rest.repos.createRelease({
44+ owner: context.repo.owner,
45+ repo: context.repo.repo,
46+ tag_name: '${{ github.event.inputs.version }}',
47+ name: 'Release ${{ github.event.inputs.version }}',
48+ prerelease: '${{ github.event.inputs.version }}'.includes('RC')
49+ })
Original file line number Diff line number Diff line change 66jobs :
77 test :
88 name : Maven-Java
9- runs-on : ubuntu-22 .04
9+ runs-on : ubuntu-24 .04
1010 timeout-minutes : 10
1111 steps :
1212 - uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments