From 618a56f69fab313f46fca94b538fec267dcdbdd2 Mon Sep 17 00:00:00 2001 From: Sven Boeckelmann Date: Thu, 8 Sep 2022 17:57:41 +0200 Subject: [PATCH] adjust cli native build --- .github/workflows/maven-cli.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/maven-cli.yml b/.github/workflows/maven-cli.yml index c611492..16319f5 100644 --- a/.github/workflows/maven-cli.yml +++ b/.github/workflows/maven-cli.yml @@ -26,11 +26,8 @@ jobs: run: | cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import gpg --list-secret-keys --keyid-format LONG - - id: cd_cli - name: enter cli - run: cd cli - id: build_jar - name: Build JAR + name: Build JARs env: OPENEPCIS_OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OPENEPCIS_OSSRH_PASSWORD: ${{ secrets.OSSRH_TOKEN }} @@ -51,7 +48,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: 'openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar' - path: 'target/openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar' + path: 'cli/target/openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar' - name: 'Create Release' if: contains(github.ref, 'v') id: create_release @@ -73,7 +70,7 @@ jobs: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} with: upload_url: ${{steps.create_release.outputs.upload_url}} - asset_path: 'target/openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar' + asset_path: 'cli/target/openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar' asset_name: 'openepcis-event-hash-generator-cli-${{env.VERSION}}-jar-with-dependencies.jar' asset_content_type: application/java-archive - name: 'Write Upload URL To File'