-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Move workflow to actual workflow directory
- Loading branch information
1 parent
d28a87f
commit 8bf5168
Showing
1 changed file
with
42 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
name: Main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
locales: | ||
name: Update base localization | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 21 | ||
|
||
- run: git clone https://github.com/SpyglassMC/vanilla-mcdoc out/locale | ||
|
||
- run: cd out/locale && git checkout locale && cd ../.. | ||
|
||
# - run: git clone https://github.com/SpyglassMC/vanilla-mcdoc out/generated | ||
|
||
# - run: cd out/generated && git checkout generated && cd ../.. | ||
|
||
- run: npx @spyglassmc/mcdoc-cli -l # -p -m | ||
|
||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
cwd: out/locale | ||
author_name: GitHub Actions | ||
author_email: actions@github.com | ||
message: 🌐 Update base localization | ||
|
||
# - uses: EndBug/add-and-commit@v9 | ||
# with: | ||
# cwd: out/generated | ||
# author_name: GitHub Actions | ||
# author_email: actions@github.com | ||
# message: 🚀 Update generated serialized AST | ||
name: Main | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
locales: | ||
name: Update base localization | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 21 | ||
|
||
- run: git clone https://github.com/SpyglassMC/vanilla-mcdoc out/locale | ||
|
||
- run: cd out/locale && git checkout locale && cd ../.. | ||
|
||
# - run: git clone https://github.com/SpyglassMC/vanilla-mcdoc out/generated | ||
|
||
# - run: cd out/generated && git checkout generated && cd ../.. | ||
|
||
- run: npx @spyglassmc/mcdoc-cli -l # -p -m | ||
|
||
- uses: EndBug/add-and-commit@v9 | ||
with: | ||
cwd: out/locale | ||
author_name: GitHub Actions | ||
author_email: actions@github.com | ||
message: 🌐 Update base localization | ||
|
||
# - uses: EndBug/add-and-commit@v9 | ||
# with: | ||
# cwd: out/generated | ||
# author_name: GitHub Actions | ||
# author_email: actions@github.com | ||
# message: 🚀 Update generated serialized AST |