fix getting branch name

This commit is contained in:
uazo
2022-03-24 17:59:47 +01:00
committed by GitHub
parent 172d3b361e
commit 062e6a0d27
+1 -1
View File
@@ -41,7 +41,7 @@ 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{})
BRANCH=$(curl https://github.com/uazo/bromite/branch_commits/$RTAG | ./pup -p li.branch:last-child a text{})
echo "BRANCH=$BRANCH" >> $GITHUB_ENV
- name: Checkout 'uazo/bromite' ${{ env.BRANCH }}