Skip to content

Commit

Permalink
🐛 Move workflow to actual workflow directory
Browse files Browse the repository at this point in the history
  • Loading branch information
MulverineX committed May 18, 2024
1 parent d28a87f commit 8bf5168
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions .github/main.yml → .github/workflows/main.yml
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

0 comments on commit 8bf5168

Please sign in to comment.