File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 6666| ` keystore-path ` | where the keystore should be placed | No | ` release.keystore ` |
6767| ` rock-build-extra-params ` | Extra parameters for rock build: android | No | - |
6868| ` comment-bot ` | Whether to comment PR with build link | No | ` true ` |
69+ | ` custom-ref ` | Custom app reference for artifact naming | No | - |
6970
7071## Outputs
7172
Original file line number Diff line number Diff line change @@ -64,6 +64,9 @@ inputs:
6464 description : ' Whether to send a comment under PR with the link to the generated build'
6565 required : false
6666 default : true
67+ custom-ref :
68+ description : ' Custom app reference for artifact naming'
69+ required : false
6770
6871outputs :
6972 artifact-url :
@@ -282,6 +285,8 @@ runs:
282285 run : |
283286 if [ "${{ github.event_name }}" = "pull_request" ]; then
284287 IDENTIFIER="${{ github.event.pull_request.number }}"
288+ elif [ -n "${{ inputs.custom-ref }}" ]; then
289+ IDENTIFIER="${{ inputs.custom-ref }}"
285290 else
286291 IDENTIFIER=$(echo "$GITHUB_SHA" | cut -c1-7)
287292 fi
You can’t perform that action at this time.
0 commit comments