Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
YitouNiu236 authored Sep 1, 2022
1 parent 1859a57 commit 25f5a3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
run: |
upstreamCode=https://github.com/YitouNiu236/TVBoxOS
echo "upstreamCode=$upstreamCode" >> $GITHUB_ENV
commit=$(curl -sL $upstreamCode/commits/main |grep -o -E "/YitouNiu236/TVBoxOS/commit/[a-z0-9]\+" |head -1 | cut -d\/ -f5)
commit=$(curl -sL $upstreamCode/commits/main |grep -o "/YitouNiu236/TVBoxOS/commit/[a-z0-9]\+" |head -1 | cut -d\/ -f5)
echo "cm=$commit"
if ! git log --oneline |grep -q "$commit"; then
echo "commit=$commit" >> $GITHUB_ENV
echo "commitS=${commit:0:7}" >> $GITHUB_ENV
Expand Down

0 comments on commit 25f5a3c

Please sign in to comment.