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'