Skip to content

Commit

Permalink
Fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
prokopyl committed Nov 11, 2020
1 parent 472417e commit 365389b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
- name: Publish to GitHub Packages
id: maven_publish
run: |
REVISION_NAME=${GIT_REF_NAME:1}
TAG_NAME=${GIT_REF_NAME##*/}
REVISION_NAME=${TAG_NAME:1}
mvn -B deploy "-Drevision=$REVISION_NAME"
JAR_PATH=$(ls | tail -n 1)
JAR_PATH=$(ls ./target/*.jar | tail -n 1)
JAR_NAME=$(basename $JAR_PATH)
echo "::set-output name=jar_path::$JAR_PATH"
echo "::set-output name=jar_name::$JAR_NAME"
Expand Down

0 comments on commit 365389b

Please sign in to comment.