Skip to content

1.20.51-2

1.20.51-2 #333

# This is a basic workflow to help you get started with Actions
name: Creating typescript includes
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [main]
pull_request:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: 📦 Checkout Repository
uses: actions/checkout@v4
# Runs a single command using the runners shell
- uses: DaanV2/Typescript-Action-Create-Indexes@latest
id: general_create
name: Indexes for General
with:
folder: ${{github.workspace}}/src/General
# Runs a single command using the runners shell
- uses: DaanV2/Typescript-Action-Create-Indexes@latest
id: types_create
name: Indexes for Types
with:
folder: ${{github.workspace}}/src/Types
- uses: DaanV2/Typescript-Action-Create-Indexes@latest
id: minecraft_create
name: Indexes for Types
with:
folder: ${{github.workspace}}/src/Minecraft
- name: ✏️ Commit changes
continue-on-error: true
run: |
cd ${{github.workspace}}
git config --global user.email "[email protected]"
git config --global user.name "Orbi-bot"
git add .
git commit -m "auto: Generated typescript includes"
git push