Skip to content

Commit 80f55f9

Browse files
committed
Fix README for a new style of action invocation
1 parent b9929bf commit 80f55f9

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

README.adoc

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,10 @@ jobs:
7272
pull-requests: write
7373
runs-on: ubuntu-latest
7474
steps:
75-
- uses: actions/checkout@v3
76-
- uses: actions/setup-java@v3
75+
- name: Create Backport Issue
76+
uses: spring-io/[email protected]
7777
with:
78-
distribution: 'temurin'
79-
java-version: '17'
80-
- name: Download BackportBot
81-
run: wget https://github.com/spring-io/backport-bot/releases/download/latest/backport-bot-0.0.1-SNAPSHOT.jar
82-
- name: Backport
83-
env:
84-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85-
GITHUB_EVENT: ${{ toJSON(github.event) }}
86-
run: java -jar backport-bot-0.0.1-SNAPSHOT.jar --github.accessToken="$GITHUB_TOKEN" --github.event_name "$GITHUB_EVENT_NAME" --github.event "$GITHUB_EVENT"
78+
token: ${{ secrets.GITHUB_TOKEN }}
8779
----
8880

8981

0 commit comments

Comments
 (0)