From fd892b71b600bc3f27da037353394667dcec8d9b Mon Sep 17 00:00:00 2001 From: Dennis Labordus Date: Tue, 23 Aug 2022 09:03:45 +0200 Subject: [PATCH] Fixed GitHub Actions. Signed-off-by: Dennis Labordus --- .github/workflows/release-project.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release-project.yml b/.github/workflows/release-project.yml index 41e3575..83fa670 100644 --- a/.github/workflows/release-project.yml +++ b/.github/workflows/release-project.yml @@ -58,17 +58,10 @@ jobs: output_file: custom_maven_settings.xml servers: '[{ "id": "github-packages-compas", "username": "OWNER", "password": "${{ secrets.GITHUB_TOKEN }}" }]' - name: Set version with Maven - # Only set the version for the CoMPAS Modules, excluding the RiseClipse Modules. - run: ./mvnw -B versions:set -DgroupId=org.lfenergy.compas.scl.validator -DnewVersion=${{ steps.extract_tagname.outputs.tagname }} + run: ./mvnw -B versions:set -DprocessAllModules=true -DnewVersion=${{ steps.extract_tagname.outputs.tagname }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Deploy with Maven to GitHub Packages and Docker Hub - # We need to pass the Repository information, because these are missing/need to be overwritten for the - # RiseClipse Submodules for which we can't update the POM files. - run: | - ./mvnw -B -s custom_maven_settings.xml \ - -DaltDeploymentRepository=github-packages-compas::default::https://maven.pkg.github.com/com-pas/compas-scl-validator \ - -Dmaven.deploy.skip=snapshots \ - -Pjvm-image,release clean deploy + run: ./mvnw -B -s custom_maven_settings.xml -Pjvm-image,release clean deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}