There was an error while loading. Please reload this page.
1 parent 81820de commit 9b1b545Copy full SHA for 9b1b545
1 file changed
.github/actions/setup-licensor/action.yml
@@ -7,6 +7,10 @@ inputs:
7
version:
8
description: Licensor version to install (e.g. "v1.2.3").
9
required: true
10
+ repository:
11
+ description: GitHub repository to download releases from (owner/repo).
12
+ required: false
13
+ default: nicebots-xyz/licensor
14
15
runs:
16
using: composite
@@ -31,7 +35,7 @@ runs:
31
35
*) echo "Unsupported OS: ${{ runner.os }}" >&2; exit 1 ;;
32
36
esac
33
37
34
- BASE_URL="https://github.com/${{ github.action_repository }}/releases/download/${VERSION}"
38
+ BASE_URL="https://github.com/${{ inputs.repository }}/releases/download/${VERSION}"
39
40
curl -fsSL "${BASE_URL}/${ASSET}" -o "${ASSET}"
41
curl -fsSL "${BASE_URL}/SHA256SUMS.txt" -o SHA256SUMS.txt
0 commit comments