Skip to content

🚚 Rename item_component to data_component #4

🚚 Rename item_component to data_component

🚚 Rename item_component to data_component #4

Workflow file for this run

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 generate ./ -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