-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from BySwiizen/improvement/workflows/4
Improved workflows
- Loading branch information
Showing
2 changed files
with
20 additions
and
5 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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 |