File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 55 targetVersion :
66 description : ' Expected Release Version'
77 required : true
8+ preventSnapshots :
9+ description : ' Prevent Snapshot Publishing'
10+ required : false
811env :
912 GIT_USER_NAME : ' grails-build'
1013 GIT_USER_EMAIL :
' [email protected] ' @@ -274,9 +277,11 @@ jobs:
274277 - name : " 📥 Checkout repository"
275278 uses : actions/checkout@v4
276279 - name : " 🛑 Set Prevent Snapshot Publishing Flag"
280+ if : ${{ github.event.inputs.preventSnapshots }}
277281 run : |
278282 sed -i "s/^preventSnapshotPublish.*$/preventSnapshotPublish\=true/" gradle.properties
279283 - name : " 📩 Commit flag to prevent snapshot publishing"
284+ if : ${{ github.event.inputs.preventSnapshots }}
280285 run : |
281286 git config user.name "${{ env.GIT_USER_NAME }}"
282287 git config user.email "${{ env.GIT_USER_EMAIL }}"
You can’t perform that action at this time.
0 commit comments