Skip to content

Commit

Permalink
Prepare for release of Shared-Kernel
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Thykier <[email protected]>
  • Loading branch information
Niels Thykier committed May 25, 2022
1 parent d3d9380 commit c0928dd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publishMasterSnapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
java-version: 17
server-id: github
server-username: ${{ secrets.DCSA_USER }}
server-password: ${{ secrets.DCSA_PACKAGES_PAT }}
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/publishPRSnapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java JDK
uses: actions/setup-java@v1
with:
java-version: 11
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
java-version: 17
server-id: github
server-username: ${{ secrets.DCSA_USER }}
server-password: ${{ secrets.DCSA_PACKAGES_PAT }}
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/publishRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,17 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'temurin'
java-version: 17
server-id: github
server-username: ${{ secrets.DCSA_USER }}
server-password: ${{ secrets.DCSA_PACKAGES_PAT }}
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v12
with:
repositories: '[{ "id": "github", "name": "DCSA Backend repo", "url": "https://maven.pkg.github.com/dcsaorg/DCSA-Core", "releases": { "enabled": "true" }, "snapshots": { "enabled": "false" } }]'
servers: '[{ "id": "github", "username": "${{ secrets.DCSA_USER }}", "password": "${{ secrets.DCSA_PACKAGES_PAT }}" }]'
servers: '[{ "id": "github", "username": "${{ secrets.DCSA_USER }}", "password": "${{ secrets.DCSA_PACKAGES_PAT }}" }]'
- name: Publish package
run: mvn -B deploy -Dchangelist=-RELEASE
run: mvn -B deploy -Dchangelist=-RELEASE -Ddcsa.artifacttype=-RELEASE
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<properties>
<java.version>11</java.version>
<dcsa.version>0.8.32</dcsa.version>
<dcsa.version>0.8.34</dcsa.version>
<dcsa.core.tag/>
<dcsa.artifacttype>-SNAPSHOT</dcsa.artifacttype>
<revision>0.0.3</revision>
Expand Down

0 comments on commit c0928dd

Please sign in to comment.