Skip to content

Commit

Permalink
adapt publish workflow [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
datYori committed Mar 25, 2024
1 parent 598c5a1 commit f03cfb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@ jobs:
- name: publish
working-directory: snapi-parser
run: |
export SDKMAN_DIR="$HOME/.sdkman"
source $HOME/.sdkman/bin/sdkman-init.sh
sdk use java 21-graalce
VERSION=$(git describe --tags | sed 's/^v//;s/-\([0-9]*\)-g/+\1-/')
mvn clean deploy -Drevision=$VERSION -P dev,deploy
echo SNAPI_PARSER_VER="${VERSION}" >> $GITHUB_ENV
Expand Down

0 comments on commit f03cfb3

Please sign in to comment.