Skip to content

Commit

Permalink
Update the GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornvester committed Jun 15, 2023
1 parent a289ae1 commit 3763dc2
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
- uses: actions/setup-java@v1
with:
java-version: 11
- uses: actions/cache@v1
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Set encoding and print version information
run: |
export LANG=C.UTF-8
locale
./gradlew --version
- name: Build plugin
run: ./gradlew check
- name: Checkout the repository
uses: actions/checkout@v3 # https://github.com/actions/checkout
- name: Validate the Gradle wrapper
uses: gradle/wrapper-validation-action@v1 # https://github.com/gradle/wrapper-validation-action
- name: Set up JDK 17
uses: actions/setup-java@v3 # https://github.com/actions/setup-java
with:
distribution: temurin
java-version: 17
- name: Set encoding and print version information
run: |
export LANG=C.UTF-8
locale
./gradlew --version
- name: Build with Gradle (this action caches various parts as well)
uses: gradle/gradle-build-action@v2 # https://github.com/gradle/gradle-build-action
with:
arguments: check

0 comments on commit 3763dc2

Please sign in to comment.