From e0550c0591998fca16e3d0e91c6e9aa85e37666b Mon Sep 17 00:00:00 2001 From: uazo <29201891+uazo@users.noreply.github.com> Date: Fri, 14 Jan 2022 17:32:28 +0100 Subject: [PATCH] Update check-git-apply.yaml --- .github/workflows/check-git-apply.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-git-apply.yaml b/.github/workflows/check-git-apply.yaml index 526677a4..e4d7b64a 100644 --- a/.github/workflows/check-git-apply.yaml +++ b/.github/workflows/check-git-apply.yaml @@ -30,6 +30,9 @@ jobs: unzip pup_v0.4.0_linux_amd64.zip rm pup_v0.4.0_linux_amd64.zip + BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$RTAG | ../pup -p li.branch a text{}) + echo "BRANCH=$BRANCH" >> $GITHUB_ENV + - name: Download bromite sources run: | mkdir bromite && cd bromite @@ -37,6 +40,7 @@ jobs: git remote add origin https://github.com/uazo/bromite git fetch origin $RTAG git reset --hard FETCH_HEAD + git branch -m $BRANCH cd .. - name: Download chromium sources @@ -82,9 +86,6 @@ jobs: echo "CHANGES=$CHANGES" >> $GITHUB_ENV if [[ CHANGES -eq 1 ]]; then - BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$RTAG | ../pup -p li.branch a text{}) - echo "BRANCH=$BRANCH" >> $GITHUB_ENV - git add . fi