Skip to content

Commit da6c819

Browse files
committed
Fix workflow StyLua
1 parent 534792b commit da6c819

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ jobs:
2828
- name: Scrape wiki
2929
if: ${{ steps.wiki_confirm_no_changes.outcome == 'failure' }}
3030
run: npm run cli:scrape-wiki
31-
- name: StyLua
31+
- name: Format the output with StyLua
3232
uses: JohnnyMorganz/stylua-action@v2
33-
- name: Format Lua in output directory
34-
run: stylua output/
33+
with:
34+
token: ${{ secrets.GITHUB_TOKEN }}
35+
version: latest
36+
args: output/
3537
- name: Pack release
3638
if: ${{ steps.wiki_confirm_no_changes.outcome == 'failure' }}
3739
run: npm run cli:pack-release

0 commit comments

Comments
 (0)