From 204fa9e8722d8dccc1584c98b025e1b6a16c522c Mon Sep 17 00:00:00 2001 From: Stefano Sinatti Date: Fri, 29 Sep 2023 17:49:12 +0200 Subject: [PATCH] Update CI --- .github/workflows/compile.yml | 4 ++-- .github/workflows/{main.yml => release.yml} | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) rename .github/workflows/{main.yml => release.yml} (57%) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index ef80f96..33761c1 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -1,7 +1,7 @@ name: Maven Compile on: push jobs: - maven-compile: + compile: uses: RegioneER/parer-github-template/.github/workflows/compile.yml@v1 with: - java: '8' + java: '17' diff --git a/.github/workflows/main.yml b/.github/workflows/release.yml similarity index 57% rename from .github/workflows/main.yml rename to .github/workflows/release.yml index ff87e3d..0831428 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/release.yml @@ -2,13 +2,18 @@ name: Maven Release on: workflow_dispatch: inputs: + pat: + description: "Personal access token" + required: true + type: string version: description: "Version number" required: true - type: string + type: string jobs: - maven-release: + release: uses: RegioneER/parer-github-template/.github/workflows/release.yml@v1 with: version: ${{ inputs.version }} - \ No newline at end of file + pat: ${{ inputs.pat }} + java: '17'