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 db4bb66 commit 1859a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run: |
upstreamCode=https://github.com/YitouNiu236/TVBoxOS
echo "upstreamCode=$upstreamCode" >> $GITHUB_ENV
commit=$(curl -sL $upstreamCode/commits/main |grep -o '/YitouNiu236/TVBoxOS/commit/[a-z0-9]\+' |head -1 | cut -d\/ -f5)
commit=$(curl -sL $upstreamCode/commits/main |grep -o -E "/YitouNiu236/TVBoxOS/commit/[a-z0-9]\+" |head -1 | cut -d\/ -f5)
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 1859a57

Please sign in to comment.