14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Checkout repository
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
with :
19
19
token : ${{ secrets.GH_TOKEN }}
20
20
- uses : gradle/wrapper-validation-action@v1
91
91
if : success()
92
92
uses : micronaut-projects/github-pages-deploy-action@master
93
93
env :
94
- BETA : ${{ contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
94
+ BETA : ${{ !(github.event.release.target_commitish == github.event.repository.default_branch) || contains(steps.release_version.outputs.release_version, 'M') || contains(steps.release_version.outputs.release_version, 'RC') }}
95
95
GH_TOKEN : ${{ secrets.GH_TOKEN }}
96
96
BRANCH : gh-pages
97
97
FOLDER : build/docs
@@ -100,21 +100,6 @@ jobs:
100
100
GRADLE_ENTERPRISE_ACCESS_KEY : ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
101
101
GRADLE_ENTERPRISE_CACHE_USERNAME : ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
102
102
GRADLE_ENTERPRISE_CACHE_PASSWORD : ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
103
- - name : Checkout micronaut-core
104
- uses : actions/checkout@v3
105
- with :
106
- token : ${{ secrets.GH_TOKEN }}
107
- repository : micronaut-projects/micronaut-core
108
- ref : ${{ env.githubCoreBranch }}
109
- path : micronaut-core # Must be micronaut-core
110
- continue-on-error : true
111
- - name : Update BOM
112
- uses : micronaut-projects/github-actions/update-bom@master
113
- env :
114
- MICRONAUT_BUILD_EMAIL : ${{ secrets.MICRONAUT_BUILD_EMAIL }}
115
- with :
116
- token : ${{ secrets.GH_TOKEN }}
117
- continue-on-error : true
118
103
- name : Run post-release
119
104
if : success()
120
105
uses : micronaut-projects/github-actions/post-release@master
@@ -149,7 +134,7 @@ jobs:
149
134
actions : read # To read the workflow path.
150
135
id-token : write # To sign the provenance.
151
136
contents : write # To add assets to a release.
152
- uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.7 .0
137
+ uses : slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.9 .0
153
138
with :
154
139
base64-subjects : " ${{ needs.provenance-subject.outputs.artifacts-sha256 }}"
155
140
upload-assets : true # Upload to a new release.
@@ -161,7 +146,7 @@ jobs:
161
146
if : startsWith(github.ref, 'refs/tags/')
162
147
steps :
163
148
- name : Checkout repository
164
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
149
+ uses : actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
165
150
- name : Download artifacts
166
151
uses : actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
167
152
with :
0 commit comments