File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
@@ -28,16 +28,21 @@ jobs:
2828 env :
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3030
31- tag :
31+ release :
3232 timeout-minutes : 5
33- runs-on : ubuntu-22 .04
33+ runs-on : ubuntu-24 .04
3434 needs : publish
3535 steps :
3636 - uses : actions/checkout@v4
3737
38- - name : Tag Deployment
39- uses : aboutbits /github-actions-base/git-create-or-update-tag@v1
38+ - name : Create GitHub release
39+ uses : actions /github-script@v7
4040 with :
41- tag-name : ${{ github.event.inputs.version }}
42- user-name : ' AboutBits'
43- user-email : ' info@aboutbits.it'
41+ script : |
42+ github.rest.repos.createRelease({
43+ owner: context.repo.owner,
44+ repo: context.repo.repo,
45+ tag_name: '${{ github.event.inputs.version }}',
46+ name: 'Release ${{ github.event.inputs.version }}',
47+ prerelease: '${{ github.event.inputs.version }}'.includes('RC')
48+ })
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