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:
161
161
build-scan-terms-of-use-url : " https://gradle.com/terms-of-service"
162
162
build-scan-terms-of-use-agree : " yes"
163
163
add-job-summary-as-pr-comment : on-failure
164
-
165
164
- name : Publish release
166
165
shell : bash
167
166
if : " github.event_name == 'release'"
168
167
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
169
168
169
+ - name : Set outputs
170
+ id : vars
171
+ run : echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
170
172
- name : Publish snapshot
171
173
shell : bash
172
174
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