Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrassia committed Sep 26, 2024
1 parent 347dae3 commit e83d12e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
- Release
- Dry Run

defaults:
run:
shell: bash
working-directory: languages/java

env:
_KEY_VAULT: "bitwarden-ci"

Expand All @@ -39,7 +44,7 @@ jobs:
- name: Get version
id: version
run: |
VERSION=$(cat languages/java/build.gradle | grep -Eo 'version = "[0-9]+\.[0-9]+\.[0-9]+"' | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
VERSION=$(cat build.gradle | grep -Eo 'version = "[0-9]+\.[0-9]+\.[0-9]+"' | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
echo "version=$VERSION" >> $GITHUB_OUTPUT
publish:
Expand Down

0 comments on commit e83d12e

Please sign in to comment.