From d871d1db33888844d222b64e8f177e171343baa2 Mon Sep 17 00:00:00 2001 From: Lukasz Modzelewski Date: Thu, 5 Feb 2026 20:05:22 +0100 Subject: [PATCH 1/2] fix: allow custom-ref IDENTIFIER --- action.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yml b/action.yml index c0a5420..3228ac8 100644 --- a/action.yml +++ b/action.yml @@ -64,6 +64,9 @@ inputs: description: 'Whether to send a comment under PR with the link to the generated build' required: false default: true + custom-ref: + description: 'Custom app reference for artifact naming' + required: false outputs: artifact-url: @@ -282,6 +285,8 @@ runs: run: | if [ "${{ github.event_name }}" = "pull_request" ]; then IDENTIFIER="${{ github.event.pull_request.number }}" + elif [ -n "${{ inputs.custom-ref }}" ]; then + IDENTIFIER="${{ inputs.custom-ref }}" else IDENTIFIER=$(echo "$GITHUB_SHA" | cut -c1-7) fi From 22b2190f26e4a03755e23cc35a2c00d69ab6082b Mon Sep 17 00:00:00 2001 From: Lukasz Modzelewski Date: Thu, 5 Feb 2026 20:39:48 +0100 Subject: [PATCH 2/2] docs: update readme with custom-ref --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index dd5b4f0..94885de 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ jobs: | `keystore-path` | where the keystore should be placed | No | `release.keystore` | | `rock-build-extra-params` | Extra parameters for rock build:android | No | - | | `comment-bot` | Whether to comment PR with build link | No | `true` | +| `custom-ref` | Custom app reference for artifact naming | No | - | ## Outputs