Skip to content

Commit

Permalink
Checkout branch in CI process for pull requests
Browse files Browse the repository at this point in the history
This way the debug build app id contains the branch name again.
  • Loading branch information
XiangRongLin committed Jan 14, 2021
1 parent 114806d commit 4196891
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: create and checkout branch
# push events already checked out the branch
if: github.event_name == 'pull_request'
run: git checkout -B ${{ github.head_ref }}

- name: set up JDK 1.8
uses: actions/setup-java@v1.4.3
with:
Expand Down

0 comments on commit 4196891

Please sign in to comment.