Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
romainbsl committed Oct 9, 2023
1 parent 5a00168 commit a1d4627
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 571 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,15 @@ jobs:
GPG_PRIVATE_KEY: ${{ secrets.PGP_SIGNING_KEY }}
GPG_PRIVATE_PASSWORD: ${{ secrets.PGP_SIGNING_PASSWORD }}
steps:
- name: Check out
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3
- name: Cached Gradle
uses: actions/cache@v2
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 #v2
- name: Set up JDK 17
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc #v3
with:
path: ~/.gradle
key: gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: gradle-
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Check
run: ./gradlew build check
shell: bash
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,15 @@ jobs:
build-upload:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3
- name: Cached Gradle
uses: actions/cache@v2
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 #v2
- name: Set up JDK 17
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc #v3
with:
path: ~/.gradle
key: gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: gradle-
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Check
run: ./gradlew build check
shell: bash
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,15 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3
- name: Cached Gradle
uses: actions/cache@v2
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629 #v2
- name: Set up JDK 17
uses: actions/setup-java@de1bb2b0c5634f0fc4438d7aa9944e68f9bf86cc #v3
with:
path: ~/.gradle
key: gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
restore-keys: gradle-
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Build & Check
run: ./gradlew build check
shell: bash
Loading

0 comments on commit a1d4627

Please sign in to comment.