diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml index 54e65e3..6d363ac 100644 --- a/.github/workflows/auto-assign.yml +++ b/.github/workflows/auto-assign.yml @@ -10,9 +10,10 @@ on: jobs: add-reviews: - if: github.actor != 'renovate[bot]' runs-on: ubuntu-24.04 + if: github.actor != 'renovate[bot]' + steps: # https://github.com/kentaro-m/auto-assign-action - name: Auto Assign diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 987d713..9ee4bd3 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -12,19 +12,33 @@ jobs: runs-on: ubuntu-24.04 + permissions: + actions: read + steps: # https://github.com/actions/checkout - name: Check out Git repository uses: actions/checkout@v4.2.2 - # https://github.com/gradle/gradle-build-action - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v4.2.1 + # https://github.com/actions/cache + - name: Cache Gradle + uses: actions/cache@v4.2.0 + with: + path: | + ~/.gradle/caches + ~/.gradle/wrapper + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} + restore-keys: | + ${{ runner.os }}-gradle- # https://github.com/gradle/wrapper-validation-action - name: Wrapper validation uses: gradle/actions/wrapper-validation@v4.2.1 + # https://github.com/gradle/gradle-build-action + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4.2.1 + # https://github.com/actions/setup-java - name: Set up JDK 17 uses: actions/setup-java@v4.5.0 @@ -48,5 +62,5 @@ jobs: - name: Upload build artifact uses: actions/upload-artifact@v4.4.3 with: - name: UltraCosmetics-gui-addon-dev + name: UltraCosmetics-GUI-Addon path: build/libs/UltraCosmetics-gui-addon-*.jar