Skip to content

Commit

Permalink
Merge pull request #147 from BySwiizen/improvement/workflows/4
Browse files Browse the repository at this point in the history
Improved workflows
  • Loading branch information
BySwiizen authored Jan 5, 2025
2 parents 798f337 + 40b512d commit b98417a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]

# https://github.com/gradle/gradle-build-action
- name: Setup Gradle
uses: gradle/actions/[email protected]
# https://github.com/actions/cache
- name: Cache Gradle
uses: actions/[email protected]
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/[email protected]

# https://github.com/gradle/gradle-build-action
- name: Setup Gradle
uses: gradle/actions/[email protected]

# https://github.com/actions/setup-java
- name: Set up JDK 17
uses: actions/[email protected]
Expand All @@ -48,5 +62,5 @@ jobs:
- name: Upload build artifact
uses: actions/[email protected]
with:
name: UltraCosmetics-gui-addon-dev
name: UltraCosmetics-GUI-Addon
path: build/libs/UltraCosmetics-gui-addon-*.jar

0 comments on commit b98417a

Please sign in to comment.