File tree 5 files changed +19
-8
lines changed
5 files changed +19
-8
lines changed Original file line number Diff line number Diff line change
1
+ * .rb merge =union
Original file line number Diff line number Diff line change @@ -84,19 +84,27 @@ if [[ "$GITHUB_MESSAGE" = *--build-all* ]] || [ "$latest_version" != "$existing_
84
84
git config --local user.email
[email protected]
85
85
git config --local user.name BrewTestBot
86
86
for try in $( seq 10) ; do
87
- echo " try: $try " > /dev/null
87
+ echo " try: $try "
88
+ git rebase --abort || true
88
89
git fetch origin master && git rebase origin/master
89
- if git push https://" $GITHUB_REPOSITORY_OWNER " :" $GITHUB_TOKEN " @github.com/" $GITHUB_REPOSITORY " .git HEAD:master --follow-tags; then
90
+ if [ " $( git ls-files -u | wc -l) " -gt 0 ] ; then
91
+ sed -i ' ' ' /=====|>>>>>|<<<<</d' Formula/" $PHP_VERSION " .rb
92
+ git add Formula/" $PHP_VERSION " .rb && git rebase --continue
93
+ fi
94
+ if git push https://" $GITHUB_REPOSITORY_OWNER " :" $GITHUB_TOKEN " @github.com/" $GITHUB_REPOSITORY " .git master; then
90
95
break
91
96
else
92
97
sleep 3s
93
98
fi
94
99
done
95
100
add_log " $tick " " Inventory" " updated"
101
+ echo " ::set-output name=build::true"
96
102
else
103
+ echo " ::set-output name=build::false"
97
104
add_log " $cross " " bottle" " broke"
98
105
exit 1
99
106
fi
100
107
else
108
+ echo " ::set-output name=build::false"
101
109
add_log " $tick " " PHP $new_version " " Bottle exists"
102
110
fi
Original file line number Diff line number Diff line change 29
29
steps :
30
30
- uses : actions/checkout@v2
31
31
- name : build
32
+ id : build
32
33
run : sh ./.github/scripts/build.sh
33
34
env :
34
35
GITHUB_ACTIONS : true
48
49
DARWIN_VERSION : ${{ matrix.os-version }}
49
50
continue-on-error : true
50
51
- name : Upload Artifact
52
+ if : steps.build.outputs.build == 'true'
51
53
uses : actions/upload-artifact@v2
52
54
with :
53
55
name : ${{ matrix.php-version }}
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ class PhpAT80 < Formula
6
6
7
7
bottle do
8
8
root_url "https://dl.bintray.com/shivammathur/php"
9
- rebuild 347
10
- sha256 "6208785804c9d044f171bfe5a99f70a5f792aab452778607ad509157842fb563 " => :big_sur
11
- sha256 "341edde90d0bf28177930556dc83406de93294477d221a5a33ef2945d9ed40ce " => :catalina
9
+ rebuild 349
10
+ sha256 "a64ac2b92db1a1c3d0565142426c9e11c2a5c50699a76d80ebfa9b74485fffaa " => :big_sur
11
+ sha256 "02f7a6b22272c90096b269c447dd477ac7c36634d81e8a2af37653177335d5ec " => :catalina
12
12
end
13
13
14
14
keg_only :versioned_formula
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ class PhpAT81 < Formula
6
6
7
7
bottle do
8
8
root_url "https://dl.bintray.com/shivammathur/php"
9
- rebuild 11
10
- sha256 "1936b417e34fdf5a3e9a4dc5d09942ab385072af5f7b03f58caf67b502833943 " => :big_sur
11
- sha256 "cf3ae69bd933320693ea61121ca794715a82e5bdbb6858148c2c501261eef8fb " => :catalina
9
+ rebuild 13
10
+ sha256 "36c2e9e779e842d4be9359eff320db19dd1f21a03cfb366618cbc88f22b97f1d " => :big_sur
11
+ sha256 "6e4401448dbb455fed3c4ef437046dbe4bfc62ba9ddb4b6fde8d25242af9340c " => :catalina
12
12
end
13
13
14
14
keg_only :versioned_formula
You can’t perform that action at this time.
0 commit comments