From 00acded35352b7a6985e9b78f4bb17b9719cc6d9 Mon Sep 17 00:00:00 2001 From: seasnail Date: Wed, 1 Sep 2021 13:07:39 +0100 Subject: [PATCH] Update pull_request.yml --- .github/workflows/pull_request.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index cfc3f82..e08b516 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -1,5 +1,4 @@ name: Build Pull Request - on: pull_request jobs: @@ -11,22 +10,16 @@ jobs: - windows-latest - ubuntu-latest runs-on: '${{ matrix.os }}' - steps: - - name: Checkout - uses: actions/checkout@latest - - - name: Setup JDK 16 - uses: actions/setup-java@latest + - uses: actions/checkout@v2 + - uses: actions/setup-java@v2 with: java-version: 16 distribution: adopt - - name: Build run: | chmod +x ./gradlew ./gradlew build - - name: Upload artifacts uses: actions/upload-artifact@v2.2.4 with: