From 0071da4248ee0ab401dd7a1b646205081bb1a0db Mon Sep 17 00:00:00 2001 From: Iain Date: Tue, 8 Apr 2025 18:48:58 +0100 Subject: [PATCH 1/2] Update and rename compile.yaml to release.yaml --- .github/workflows/{compile.yaml => release.yaml} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename .github/workflows/{compile.yaml => release.yaml} (97%) diff --git a/.github/workflows/compile.yaml b/.github/workflows/release.yaml similarity index 97% rename from .github/workflows/compile.yaml rename to .github/workflows/release.yaml index 80b68a9..f8872e4 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/release.yaml @@ -1,7 +1,7 @@ -name: Compile Test +name: Release -on: - pull_request: +on: + push: branches: - master From 03de823d892f707b490e0f34cee49124f8381dbc Mon Sep 17 00:00:00 2001 From: Iain Date: Tue, 8 Apr 2025 18:51:02 +0100 Subject: [PATCH 2/2] Create compile.yaml --- .github/workflows/compile.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/compile.yaml diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml new file mode 100644 index 0000000..d0af614 --- /dev/null +++ b/.github/workflows/compile.yaml @@ -0,0 +1,31 @@ +name: Compile Test + +on: + pull_request: + branches: + - master + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + packages: read + + steps: + - name: Checkout JavaCore + uses: actions/checkout@v2 + with: + repository: 'CoagulateSL/JavaCore' + path: JavaCore + - name: Set up JDK 17 + uses: actions/setup-java@v2 + with: + java-version: '17' + distribution: 'adopt' + - name: Build with Maven + env: + PACKAGE_READ: ${{ secrets.PACKAGE_READ }} + working-directory: JavaCore + run: mvn --batch-mode clean compile +