Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
THOREL Arnaud authored and THOREL Arnaud committed Nov 17, 2023
1 parent a9d11a6 commit 3354102
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ name: Deploy Package
on:
release:
types: [created]
permissions:
contents: write

jobs:
deploy:
Expand All @@ -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:
Expand All @@ -29,9 +25,8 @@ jobs:
- name: Release / Deploy
run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-[email protected]'
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 }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<scm>
<connection>scm:git:${project.scm.url}</connection>
<developerConnection>scm:git:${project.scm.url}</developerConnection>
<url>git@github.com:Ouest-France/querydsl.git</url>
<url>https://github.com/Ouest-France/querydsl.git</url>
<tag>HEAD</tag>
</scm>

Expand Down

0 comments on commit 3354102

Please sign in to comment.