Skip to content

Commit

Permalink
Release: 1.0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszancukiewicz committed Feb 5, 2024
1 parent c0bc9d7 commit fa3536d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
java-version: 11
- name: Get app version
id: app_version
run: echo "APP_VERSION=$(./gradlew version --no-daemon --console=plain -q)" >> $GITHUB_OUTPUT
run: echo "APP_VERSION=$(./gradlew version --no-daemon --console=plain -q | tail -n 1)" >> $GITHUB_OUTPUT
- name: Check release with local version
if: "github.event.head_commit.message != format('Release: {0}', steps.app_version.outputs.APP_VERSION)"
run: |
Expand All @@ -29,6 +29,6 @@ jobs:
REPOSITORY_USERNAME: ${{ secrets.REPOSITORY_USERNAME }}
REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }}
run: |
./gradlew assembleRelease assembleReleaseUnitTest \
./gradlew assembleRelease assembleReleaseUnitTest artifactoryPublish \
-PrepositoryUserName=${{ env.REPOSITORY_USERNAME }} \
-PrepositoryPassword=${{ env.REPOSITORY_PASSWORD }}

0 comments on commit fa3536d

Please sign in to comment.