We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
action.yml
1 parent 43a5a23 commit ae0c3e0Copy full SHA for ae0c3e0
action.yml
@@ -17,10 +17,12 @@ runs:
17
- name: Download Backport Bot jar and run
18
shell: bash
19
run: |
20
- gh release download "$ACTION_VERSION" --repo "$GITHUB_REPOSITORY" --pattern "backport-bot-*.jar"
+ gh release download "$ACTION_VERSION" --repo spring-io/backport-bot --pattern "backport-bot-*.jar"
21
22
- java -jar backport-bot-"$ACTION_VERSION".jar \
23
- --github.accessToken="GH_TOKEN" \
+ jars=( ./*.jar )
+
24
+ java -jar "${jars[0]}" \
25
+ --github.accessToken="$GH_TOKEN" \
26
--github.event_name="$GITHUB_EVENT_NAME" \
27
--github.event="$GITHUB_EVENT"
28
env:
0 commit comments