Skip to content

Commit d8ec031

Browse files
committed
Setup JBang using jbangdev/setup-jbang instead of jbang-action
1 parent 1644fcc commit d8ec031

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

.github/workflows/smoke-tests.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,25 @@ jobs:
1515
steps:
1616
- name: checkout
1717
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18-
- name: Set up JDK 17
19-
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
20-
with:
21-
java-version: '17'
22-
distribution: 'temurin'
2318
- uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4
2419
with:
2520
path: /root/.jbang
2621
key: $-jbang-$
2722
restore-keys: |
2823
$-jbang-
24+
- name: Set up JDK 17
25+
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
26+
with:
27+
java-version: '17'
28+
distribution: 'temurin'
2929
- name: Set up Maven
3030
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
3131
with:
3232
maven-version: 3.9.6
3333
- name: jbang
34-
uses: jbangdev/jbang-action@36d4a384d215d91c2c7e74014a486cedfe09d760 # v0.119.0
34+
uses: jbangdev/setup-jbang@2b1b465a7b75f4222b81426f23a01e013aa7b95c # v0.1.1
3535
with:
36-
script: ".github/smoketest/SmokeTest.java"
37-
env:
38-
JBANG_REPO: /root/.jbang/repository
39-
GITHUB_TOKEN: $
40-
WORKING_DIRECTORY: ${{ env.working-directory }}
36+
version: 0.119.0
37+
- name: SmokeTest
38+
run: |
39+
jbang .github/smoketest/SmokeTest.java

0 commit comments

Comments
 (0)