Skip to content

Commit

Permalink
implement new version get
Browse files Browse the repository at this point in the history
  • Loading branch information
peggimann committed Dec 11, 2023
1 parent bdff14f commit 4731b4e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ jobs:
extract-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{secrets.VERSION_TOKEN}}

- name: Extract Maven project version
uses: actions/checkout@v4
run: echo "version=$(mvn -q -Dexec.executable=echo -Dexec.args='${project.version}' --non-recursive exec:exec | sed 's/-SNAPSHOT$//')" >> $GITHUB_OUTPUT
id: store-version

Expand Down

0 comments on commit 4731b4e

Please sign in to comment.