File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,17 @@ runs:
1414 distribution : temurin
1515 java-version : 17
1616
17- - name : Download Backport Bot jar from release asset
17+ - name : Download Backport Bot jar and run
1818 shell : bash
19- run : gh release download "${{ github.action_ref }}" --repo "$GITHUB_REPOSITORY" --pattern "backport-bot-*.jar"
19+ run : |
20+ gh release download "$ACTION_VERSION" --repo "$GITHUB_REPOSITORY" --pattern "backport-bot-*.jar"
21+
22+ java -jar backport-bot-"$ACTION_VERSION".jar \
23+ --github.accessToken="GH_TOKEN" \
24+ --github.event_name="$GITHUB_EVENT_NAME" \
25+ --github.event="$GITHUB_EVENT"
2026 env :
2127 GH_TOKEN : ${{ inputs.token }}
22-
23- - name : Run Backport Bot jar
24- shell : bash
25- run : java -jar backport-bot-${{ github.action_ref }}.jar \
26- --github.accessToken="${{ inputs.token }}" \
27- --github.event_name="${{ github.event_name }}" \
28- --github.event="${{ toJSON(github.event) }}"
29- env :
28+ ACTION_VERSION : ${{ github.action_ref }}
29+ GITHUB_EVENT : ${{ toJSON(github.event) }}
3030 SPRING_MAIN_BANNERMODE : off
You can’t perform that action at this time.
0 commit comments