Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jayfray12 authored May 1, 2022
1 parent 83649e1 commit 022b673
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v2
with:
token: ${{ secrets.HEROPHILUS_ACCESS_TOKEN }}
- name: Java Maven release Red Hat
- name: Java Maven release Upstream
uses: qcastel/[email protected]
env:
JAVA_HOME: /usr/lib/jvm/java-11-openjdk/
Expand All @@ -38,22 +38,13 @@ jobs:
version-major: ${{ github.event.inputs.increment-major }}
version-minor: ${{ github.event.inputs.increment-minor }}
git-release-bot-name: "idaas-bot"
maven-options: "-f pom-redhat.xml -s /github/workspace/.github/workflows/settings.xml"
maven-args: "-f pom-redhat.xml"
maven-options: "-s /github/workspace/.github/workflows/settings.xml"
maven-args: "-Dmaven.deploy.skip=true"
maven-repo-server-id: github
maven-project-folder: iDaaS-KIC-Integration
- name: Java Maven release Upstream
uses: qcastel/[email protected]
- name: Deploy Red Hat Artifacts
run: mvn -s /github/workspace/.github/workflows/settings.xml -B deploy --file pom.xml
env:
JAVA_HOME: /usr/lib/jvm/java-11-openjdk/
MAVEN_REPO_SERVER_ID: github
MAVEN_REPO_SERVER_USERNAME: idaas-bot
MAVEN_REPO_SERVER_PASSWORD: ${{ secrets.HEROPHILUS_ACCESS_TOKEN }}
with:
access-token: ${{ secrets.HEROPHILUS_ACCESS_TOKEN }}
release-branch-name: ${{ github.event.inputs.branch }}
version-major: ${{ github.event.inputs.increment-major }}
version-minor: ${{ github.event.inputs.increment-minor }}
git-release-bot-name: "idaas-bot"
maven-options: "-s /github/workspace/.github/workflows/settings.xml"
maven-repo-server-id: github

0 comments on commit 022b673

Please sign in to comment.