Skip to content

Commit

Permalink
adjust cli native build
Browse files Browse the repository at this point in the history
  • Loading branch information
sboeckelmann committed Sep 8, 2022
1 parent 0d072cb commit 618a56f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/maven-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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'
Expand Down

0 comments on commit 618a56f

Please sign in to comment.