From 4055c153d604435f798cb6152026327b98c18f6e Mon Sep 17 00:00:00 2001 From: Nolij Date: Wed, 17 Jan 2024 09:48:08 -0500 Subject: [PATCH] CI go brr? --- .github/workflows/build.yml | 10 +++++----- .github/workflows/publish.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 473fdcf9..c3a6e2a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,12 +6,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: - distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' - - name: Adjust Gradle permission - run: chmod +x ./gradlew + distribution: temurin + java-version: 17 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: :build run: ./gradlew build - name: Upload artifacts diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 12a4bebf..3d25f32b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,12 +6,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: - distribution: 'temurin' # See 'Supported distributions' for available options - java-version: '17' - - name: Adjust Gradle permission - run: chmod +x ./gradlew + distribution: temurin + java-version: 17 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 - name: :build run: ./gradlew build - name: Upload artifacts