Skip to content

Commit 5092915

Browse files
committed
Hopefully fix JBang issues in sync-working-groups.yml
1 parent bb6b9d3 commit 5092915

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/sync-working-groups.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- cron: '0 * * * *'
99
workflow_dispatch:
1010

11+
defaults:
12+
run:
13+
shell: bash
14+
1115
jobs:
1216
sync:
1317
if: github.repository == 'quarkusio/quarkusio.github.io'
@@ -23,11 +27,12 @@ jobs:
2327
distribution: temurin
2428
java-version: ${{ env.JVM_VERSION }}
2529

26-
- name: Build working groups YAML file
27-
uses: jbangdev/[email protected]
28-
with:
29-
script: working-groups/main.java
30-
jbangargs: --verbose -Dworking-groups.output=_data/wg.yaml
30+
- name: Set up JBang
31+
uses: jbangdev/setup-jbang@main
32+
33+
- name: Run script
34+
run: |
35+
jbang --verbose --java ${JVM_VERSION} working-groups/main.java -Dworking-groups.output=_data/wg.yaml
3136
env:
3237
JBANG_REPO: /root/.jbang/repository
3338
GITHUB_TOKEN: ${{ secrets.SYNC_WORKING_GROUP_TOKEN }}

0 commit comments

Comments
 (0)