✨ HealAPI で超過回復量・回復前の体力を取得できるように #11685
Workflow file for this run
This file contains hidden or 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
| name: lint-datapack | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Test | |
| uses: ChenCMD/datapack-linter@v2 | |
| with: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| muteSuccessResult: true | |
| ignoreLintPathPattern: | | |
| animated_java:** | |
| core:define_gamerule | |
| - name: Checkout Asset2 | |
| if: ${{ github.ref == 'refs/heads/master' }} | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: ProjectTSB/Asset | |
| ref: master | |
| path: ./Asset2 | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Setup minimum typescript code runner | |
| if: ${{ github.ref == 'refs/heads/master'}} | |
| run: | | |
| npm i -g ts-node | |
| npm i -D @types/node | |
| echo '{"compilerOptions": {"target": "ESNext", "types": ["node"]}}' > ./tsconfig.json | |
| - name: Generate declares.d.mcfunction | |
| if: ${{ github.ref == 'refs/heads/master' }} | |
| run: | | |
| ts-node ./.github/workflows/make-declares-mcf.ts | |
| env: | |
| CHECKOUT_PATH: /home/runner/work/TheSkyBlessing/TheSkyBlessing/ | |
| REPOSITORY: ProjectTSB/TheSkyBlessing | |
| BRANCH: master | |
| VISIBILITY_FILTER: | | |
| function@asset:artifact/ARTIFACT_NAME/trigger/2.check_condition | |
| function@asset:artifact/ARTIFACT_NAME/trigger/3.main | |
| function@asset:artifact/ARTIFACT_NAME/give/2.give | |
| function@asset:effect/EFFECT_NAME/register | |
| function@asset:effect/EFFECT_NAME/given/ | |
| function@asset:effect/EFFECT_NAME/tick/ | |
| function@asset:effect/EFFECT_NAME/re-given/ | |
| function@asset:effect/EFFECT_NAME/remove/ | |
| function@asset:effect/EFFECT_NAME/end/ | |
| function@asset:mob/MOB_NAME/register | |
| function@asset:mob/MOB_NAME/summon/ | |
| function@asset:mob/MOB_NAME/attack/ | |
| function@asset:mob/MOB_NAME/death/ | |
| function@asset:mob/MOB_NAME/hurt/ | |
| function@asset:mob/MOB_NAME/init/ | |
| function@asset:mob/MOB_NAME/remove/ | |
| function@asset:mob/MOB_NAME/tick/ | |
| function@asset:mob/MOB_NAME/attack/SOMETHING_FUNCTION | |
| function@asset:mob/MOB_NAME/death/SOMETHING_FUNCTION | |
| function@asset:mob/MOB_NAME/hurt/SOMETHING_FUNCTION | |
| function@asset:object/OBJECT_NAME/register | |
| function@asset:object/OBJECT_NAME/init/ | |
| function@asset:object/OBJECT_NAME/tick/ | |
| function@asset:container/CONTAINER_ID/register | |
| function@asset:island/ISLAND_ID/register | |
| function@asset:spawner/SPAWNER_ID/register | |
| function@asset:teleporter/TELEPORTER_ID/early_register | |
| function@asset:teleporter/TELEPORTER_ID/register | |
| function@asset:trader/TRADER_ID/register | |
| OUTPUT_PATH: ./Asset2/Asset/data/minecraft/functions/declares.d.mcfunction | |
| OUTPUT_RESOURCE_PATH: minecraft:declares.d | |
| - name: Deploy declares to Asset Repository | |
| if: ${{ github.ref == 'refs/heads/master' }} | |
| uses: actions-js/push@v1.4 | |
| with: | |
| github_token: ${{ secrets.ORG_PAT }} | |
| repository: ProjectTSB/Asset | |
| branch: master | |
| directory: ./Asset2 | |
| message: | | |
| Update Declares from ProjectTSB/TheSkyBlessing@${{ github.SHA }} | |
| [regenerate cache] |