Skip to content

Commit 1ac4827

Browse files
author
Tim Middleton
committed
Add alias for curl for older versions
1 parent 8135538 commit 1ac4827

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/examples-jakarta-v1.2.2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
- name: Verify Examples
7575
shell: bash
7676
run: |
77+
# Alias curl to use retries
78+
alias curl='curl -L --retry 10 --retry-delay 5 -w "\nHTTP status: %{http_code}\n"
7779
git checkout v1.2.2
7880
# Change the jib-maven-plugin as this version fails
7981
sed -i.bak 's/<version.plugin.jib>3\.3\.0<\/version.plugin.jib>/<version.plugin.jib>3.4.3<\/version.plugin.jib>/' java/pom.xml

.github/workflows/examples-v1.2.2.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
- name: Verify Examples
7474
shell: bash
7575
run: |
76+
# Alias curl to use retries
77+
alias curl='curl -L --retry 10 --retry-delay 5 -w "\nHTTP status: %{http_code}\n"
7678
git checkout v1.2.2
7779
# Change the jib-maven-plugin as this version fails
7880
sed -i.bak 's/<version.plugin.jib>3\.3\.0<\/version.plugin.jib>/<version.plugin.jib>3.4.3<\/version.plugin.jib>/' java/pom.xml

0 commit comments

Comments
 (0)