File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -161,13 +161,15 @@ jobs:
161161 build-scan-terms-of-use-url : " https://gradle.com/terms-of-service"
162162 build-scan-terms-of-use-agree : " yes"
163163 add-job-summary-as-pr-comment : on-failure
164-
165164 - name : Publish release
166165 shell : bash
167166 if : " github.event_name == 'release'"
168167 run : ./gradlew build publish -Pdeploy.native=false -Pdeploy.kotlin=true -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ github.event.release.tag_name }} --console=plain --info --configure-on-demand --parallel --build-cache
169168
169+ - name : Set outputs
170+ id : vars
171+ run : echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
170172 - name : Publish snapshot
171173 shell : bash
172174 if : " github.event_name != 'release'"
173- run : ./gradlew build publish -Pdeploy.native=false -Pdeploy.kotlin=true -Pffmpeg.gpl=${{ matrix.gpl }} --console=plain --info --configure-on-demand --parallel --build-cache
175+ run : ./gradlew build publish -Pdeploy.native=false -Pdeploy.kotlin=true -Pffmpeg.gpl=${{ matrix.gpl }} -Pdeploy.version=${{ steps.vars.outputs.sha_short }}-dev - -console=plain --info --configure-on-demand --parallel --build-cache
You can’t perform that action at this time.
0 commit comments