Skip to content

Commit 5b173a4

Browse files
committed
Add -f to curl commands
This might have made it so we got the right error rather than erroring on the envsubst step.
1 parent 2492d4a commit 5b173a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ jobs:
266266
- name: Install nfpm and envsubst
267267
run: |
268268
mkdir -p ~/.local/bin
269-
curl -sSL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
270-
curl -sSL https://github.com/a8m/envsubst/releases/download/v1.1.0/envsubst-`uname -s`-`uname -m` -o envsubst
269+
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
270+
curl -sSfL https://github.com/a8m/envsubst/releases/download/v1.1.0/envsubst-`uname -s`-`uname -m` -o envsubst
271271
chmod +x envsubst
272272
mv envsubst ~/.local/bin
273273
echo "$HOME/.local/bin" >> $GITHUB_PATH
@@ -353,7 +353,7 @@ jobs:
353353

354354
- name: Install nfpm
355355
run: |
356-
curl -sSL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
356+
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
357357
echo "$HOME/.local/bin" >> $GITHUB_PATH
358358
359359
- name: Install cross-compiler
@@ -405,7 +405,7 @@ jobs:
405405

406406
- name: Install nfpm
407407
run: |
408-
curl -sSL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
408+
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
409409
echo "$HOME/.local/bin" >> $GITHUB_PATH
410410
411411
- name: Download npm package

0 commit comments

Comments
 (0)