Skip to content

Commit e530f7d

Browse files
committed
fix: install nfpm straight from GitHub
install.goreleaser.com appears to no longer be available.
1 parent d3f58f9 commit e530f7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,9 @@ jobs:
265265
266266
- name: Install nfpm and envsubst
267267
run: |
268-
curl -sfL https://install.goreleaser.com/github.com/goreleaser/nfpm.sh | sh -s -- -b ~/.local/bin v2.3.1
269-
curl -L https://github.com/a8m/envsubst/releases/download/v1.1.0/envsubst-`uname -s`-`uname -m` -o envsubst
268+
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
270271
chmod +x envsubst
271272
mv envsubst ~/.local/bin
272273
echo "$HOME/.local/bin" >> $GITHUB_PATH

0 commit comments

Comments
 (0)