From 41968918bb55d549565a6c84e47a8f2cacb35cab Mon Sep 17 00:00:00 2001 From: XiangRongLin <41164160+XiangRongLin@users.noreply.github.com> Date: Wed, 13 Jan 2021 16:18:19 +0100 Subject: [PATCH] Checkout branch in CI process for pull requests This way the debug build app id contains the branch name again. --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6419c65dd..1f8960bdc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: