Feat: ImageSynthesis: 调整图像旋转锚点, 与新版编辑器保持一致 #8
This file contains 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: Generate Index JSON | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "data/**" | |
- "build.gradle" | |
jobs: | |
generate-index: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: temurin | |
java-version: 11 | |
cache: gradle | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Build with Gradle | |
run: ./gradlew generateIndexJson | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update index.json and index.map.json | |
commit_user_name: GitHub Actions | |
commit_user_email: [email protected] | |
commit_author: GitHub Actions <[email protected]> | |
file_pattern: "index.json,index.map.json" |