Skip to content

Commit

Permalink
Fix the workflows (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
supl authored Jan 24, 2023
1 parent 69c9301 commit 0e38de1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
working-directory: java

steps:
- uses: actions/checkout@v2

- name: Set version
id: version
run: |
VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/v##g")
echo ::set-output name=version::${VERSION}
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ jobs:
working-directory: java

steps:
- uses: actions/checkout@v2

- name: Set version
id: version
run: |
VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/v##g")
echo ::set-output name=version::${VERSION}
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- name: Upload the package to Maven Central Repository
run: |
Expand Down

0 comments on commit 0e38de1

Please sign in to comment.