Merge pull request #16 from GTModpackTeam/add-Botania_Nature #19
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
# Updates the Gradle Cache when necessary | |
name: Update Gradle Cache | |
on: | |
push: | |
branches: | |
- master | |
paths: ['gradle/**', '**.gradle', 'gradle.properties', 'gradlew**', 'src/main/resources/*_at.cfg'] | |
workflow_dispatch: | |
concurrency: | |
group: gradle-cache-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
update-cache: | |
name: Update Grade Cache | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Build | |
uses: ./.github/actions/build_setup | |
with: | |
update-cache: true | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build Project with Gradle | |
run: ./gradlew --info assemble |