Skip to content

Commit 547b2bc

Browse files
author
Dennis Labordus
authored
Merge pull request #104 from com-pas/small-github-action-changes
Small changes to GitHub Actions
2 parents 4cc27f7 + 1ab4543 commit 547b2bc

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/release-project.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,10 @@ jobs:
5858
output_file: custom_maven_settings.xml
5959
servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]'
6060
- name: Set version with Maven
61-
# Only set the version for the CoMPAS Modules, excluding the RiseClipse Modules.
62-
run: ./mvnw -B versions:set -DgroupId=org.lfenergy.compas.scl.validator -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
61+
run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }}
6362
env:
6463
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6564
- name: Deploy with Maven to GitHub Packages and Docker Hub
66-
# We need to pass the Repository information, because these are missing/need to be overwritten for the
67-
# RiseClipse Submodules for which we can't update the POM files.
68-
run: |
69-
./mvnw -B -s custom_maven_settings.xml \
70-
-DaltDeploymentRepository=github-packages-compas::default::https://maven.pkg.github.com/com-pas/compas-scl-validator \
71-
-Dmaven.deploy.skip=snapshots \
72-
-Pjvm-image,release clean deploy
65+
run: ./mvnw -B -s custom_maven_settings.xml -Pjvm-image,release clean deploy
7366
env:
7467
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)