Call main workflow in update-wit
This commit is contained in:
parent
1c3f9f412f
commit
993b966628
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -2,6 +2,7 @@ name: Main
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
8
.github/workflows/update-wit.yml
vendored
8
.github/workflows/update-wit.yml
vendored
@ -4,11 +4,12 @@ on:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
update-wit:
|
||||
name: Update WIT
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-slim
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
@ -37,3 +38,8 @@ jobs:
|
||||
git add wit
|
||||
git commit -m "Sync to Pumpkin-MC/pumpkin-plugin-wit@${witCommit}"
|
||||
git push
|
||||
|
||||
main:
|
||||
name: Build, test, and release
|
||||
needs: update-wit
|
||||
uses: ./.github/workflows/main.yml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user