File tree 3 files changed +7
-5
lines changed
3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 53
53
echo "PROJECT_VERSION=$PROJECT_VERSION" >> "$GITHUB_OUTPUT"
54
54
echo "VERSION=$VERSION" >> "$GITHUB_OUTPUT"
55
55
- run : scripts/github-job-wait
56
+ if : ${{ github.event_name != 'pull_request' }}
56
57
env :
57
58
COMMIT : ${{ steps.step.outputs.commit }}
58
59
GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 6
6
retry_3 () {
7
7
for _ in 1 2 3; do
8
8
if " $@ " ; then
9
- break
9
+ return
10
10
else
11
11
sleep 1
12
12
fi
13
13
done
14
+ exit 1
14
15
}
15
16
16
17
curl_retry () {
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ Vagrant.configure("2") do |config|
7
7
memory = 8192
8
8
cpus = 4
9
9
10
- config . vm . provider :virtualbox do |v |
11
- config . vm . box_url = "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-latest.x86_64.vagrant-virtualbox.box"
10
+ config . vm . provider :virtualbox do |v , override |
11
+ override . vm . box_url = "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-latest.x86_64.vagrant-virtualbox.box"
12
12
v . memory = memory
13
13
v . cpus = cpus
14
14
end
15
15
16
- config . vm . provider :libvirt do |v |
17
- config . vm . box_url = "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-latest.x86_64.vagrant-libvirt.box"
16
+ config . vm . provider :libvirt do |v , override |
17
+ override . vm . box_url = "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-latest.x86_64.vagrant-libvirt.box"
18
18
v . memory = memory
19
19
v . cpus = cpus
20
20
end
You can’t perform that action at this time.
0 commit comments