Skip to content

Commit

Permalink
fix jar path env
Browse files Browse the repository at this point in the history
  • Loading branch information
thadguidry committed Nov 25, 2024
1 parent 4d902f0 commit 847f74f
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/maven-central-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
unzip staging/central-bundle.zip -d staging
echo "JAR_FILE_PATH=staging/io/9tiger/db2rest/${{ github.event.release.tag_name }}" >> $GITHUB_ENV
echo "JAR_FILE=db2rest-${{ github.event.release.tag_name }}.jar" >> $GITHUB_ENV
echo "JAR_PATH=${{ env.JAR_FILE_PATH }}/${{ env.JAR_FILE }}" >> $GITHUB_ENV
- name: Archive central-bundle JAR artifacts
uses: actions/upload-artifact@v4
Expand All @@ -68,13 +69,6 @@ jobs:
# MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
# MAVEN_GPG_KEY: ${{ secrets.MAVEN_GPG_KEY }}

- run: ls staging
- run: ls io
- run: ls staging/io
- run: ls staging/io/9tiger
- run: ls staging/io/9tiger/db2rest
- run: ls staging/io/9tiger/db2rest/${{ github.event.release.tag_name }}

- name: Login to DockerHub
uses: docker/login-action@v3
with:
Expand All @@ -88,4 +82,4 @@ jobs:
tags: kdhrubo/db2rest:v${{ github.event.release.tag_name }}, kdhrubo/db2rest:latest
build-args: |
DB2REST_VERSION=${{ github.event.release.tag_name }}
JAR_FILE=${{ env.JAR_FILE_PATH }}/${{ env.JAR_FILE }}
JAR_FILE=${{ env.JAR_PATH }}

0 comments on commit 847f74f

Please sign in to comment.