Skip to content

Commit

Permalink
Merge pull request #29 from djkovrik/release/1.4.1
Browse files Browse the repository at this point in the history
Release pipeline tweak
  • Loading branch information
djkovrik authored Apr 30, 2024
2 parents f65c0e1 + f6443c8 commit 94baeea
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/GooglePlayDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,20 @@ on:
- closed

jobs:
build:
name: Print PR variables
runs-on: ubuntu-latest

steps:
- name: Print PR state
run: echo ${{ github.event.pull_request.merged == true }}
- name: Print branch name
run: echo ${{ github.event.pull_request.head.ref }}
- name: Print resulting flag
run: echo ${{ github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'release/') }}

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

steps:
Expand Down

0 comments on commit 94baeea

Please sign in to comment.