diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index e84d7eb..41edc55 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -7,8 +7,8 @@ on: branches: - '[4-9]+.[0-9]+.x' env: - GIT_USER_NAME: gpc-deploy - GIT_USER_EMAIL: gpc-deploy@users.noreply.github.com + GIT_USER_NAME: ${{ vars.GIT_USER_NAME }} + GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }} jobs: test_project: name: "Test Project" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7485380..3ebbaf4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,8 +3,8 @@ on: release: types: [published] env: - GIT_USER_NAME: ${{ secrets.GIT_USER_NAME }} - GIT_USER_EMAIL: ${{ secrets.GIT_USER_EMAIL }} + GIT_USER_NAME: ${{ vars.GIT_USER_NAME }} + GIT_USER_EMAIL: ${{ vars.GIT_USER_EMAIL }} jobs: release: runs-on: ubuntu-latest @@ -54,6 +54,7 @@ jobs: COMMIT_NAME: ${{ env.GIT_USER_NAME }} FOLDER: build/docs/manual GH_TOKEN: ${{ secrets.GH_TOKEN }} + SKIP_SNAPSHOT: ${{ contains(steps.release_version.outputs.release_version, 'M') }} VERSION: ${{ steps.release_version.outputs.release_version }} - name: "⚙️ Run post-release" if: steps.publish_to_sonatype.outcome == 'success'