From 3354102a5ed5d11bc4e3c080978ab9ed2c81ac49 Mon Sep 17 00:00:00 2001 From: THOREL Arnaud Date: Fri, 17 Nov 2023 08:23:44 +0100 Subject: [PATCH] fix ci --- .github/workflows/maven-publish.yml | 9 ++------- pom.xml | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 8cf135e..83cc2f6 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -6,8 +6,6 @@ name: Deploy Package on: release: types: [created] -permissions: - contents: write jobs: deploy: @@ -17,8 +15,6 @@ jobs: packages: write steps: - uses: actions/checkout@v3 - with: - ref: main - name: Set up JDK 17 uses: actions/setup-java@v3 with: @@ -29,9 +25,8 @@ jobs: - name: Release / Deploy run: | git config --global user.name 'github-actions' - git config --global user.email 'github-actions@github.com' + git config --global user.email 'actions[bot]@github.com' mvn release:prepare release:perform -B -s .github/deploy_settings.xml -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} -Dtag=${{ github.event.inputs.releaseVersion }} env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 508bfcf..751dabd 100644 --- a/pom.xml +++ b/pom.xml @@ -32,7 +32,7 @@ scm:git:${project.scm.url} scm:git:${project.scm.url} - git@github.com:Ouest-France/querydsl.git + https://github.com/Ouest-France/querydsl.git HEAD