Skip to content

Commit

Permalink
Release pipeline tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
djkovrik committed Apr 30, 2024
1 parent f65c0e1 commit 81dc4cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/AnalysisAndBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Print PR state
run: echo ${{ github.event.pull_request.merged }}
- name: Print branch name
run: echo ${{ github.event.pull_request.base.ref }}
- uses: actions/checkout@v3
- name: set up JDK
uses: actions/setup-java@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/GooglePlayDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
deploy:
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.base.ref, 'release/')
if: ${{ github.event.pull_request.merged && startsWith(github.event.pull_request.base.ref, 'release') }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 81dc4cb

Please sign in to comment.