Skip to content

Commit

Permalink
chore(ci): fix artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
xeruf committed Jun 28, 2024
1 parent 7acdd04 commit d15f2a3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
fail-fast: false
matrix:
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
os: [ubuntu-latest, windows-latest, macos-latest, macos-latest-large]
os: [ubuntu-latest, windows-latest, macos-latest]
jdk: [11]
steps:
- uses: actions/checkout@v4
Expand All @@ -22,8 +22,8 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
key: ${{ matrix.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ matrix.os }}-gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Execute tests
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Upload jars as artifact
uses: actions/upload-artifact@v4
with:
name: software-challenge-gui-${{ github.sha }}-${{ runner.os }}
name: software-challenge-gui-${{ github.sha }}-${{ matrix.os }}
path: build/*.jar
build-arm:
runs-on: ${{ matrix.os }}
Expand All @@ -56,16 +56,16 @@ jobs:
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: ${{ runner.os }}-gradle
key: ${{ matrix.os }}-gradle-${{ hashFiles('**/*.gradle.kts') }}
restore-keys: ${{ matrix.os }}-gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Assemble fat jar
run: ./gradlew shadowJar
- name: Upload jars as artifact
uses: actions/upload-artifact@v4
with:
name: software-challenge-gui-${{ github.sha }}-${{ runner.os }}
name: software-challenge-gui-${{ github.sha }}-${{ matrix.os }}
path: build/*.jar
release:
needs: [build, build-arm]
Expand Down

0 comments on commit d15f2a3

Please # to comment.