mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
+gohugo (#85)
This commit is contained in:
parent
974af85f68
commit
85ad44e24a
2 changed files with 4 additions and 1 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
@ -43,6 +43,9 @@ jobs:
|
||||||
rm -rf /opt/tea.xyz/var/pantry
|
rm -rf /opt/tea.xyz/var/pantry
|
||||||
ln -s $GITHUB_WORKSPACE/pantry /opt/tea.xyz/var/pantry
|
ln -s $GITHUB_WORKSPACE/pantry /opt/tea.xyz/var/pantry
|
||||||
mkdir .git # no git in our image
|
mkdir .git # no git in our image
|
||||||
|
|
||||||
|
# even though we install ca-certificates, our curl is not aware of them or something
|
||||||
|
echo --insecure >> ~/.curlrc
|
||||||
;;
|
;;
|
||||||
macos-11)
|
macos-11)
|
||||||
# screws up a lot of build scripts
|
# screws up a lot of build scripts
|
||||||
|
|
|
@ -31,7 +31,7 @@ build:
|
||||||
"Xaarch64-apple-darwin") GOARCH="darwin-arm64";;
|
"Xaarch64-apple-darwin") GOARCH="darwin-arm64";;
|
||||||
"Xx86_64-apple-darwin") GOARCH="darwin-amd64";;
|
"Xx86_64-apple-darwin") GOARCH="darwin-amd64";;
|
||||||
"Xx86_64-unknown-linux-gnu") GOARCH="linux-amd64";;
|
"Xx86_64-unknown-linux-gnu") GOARCH="linux-amd64";;
|
||||||
"Xxaarch64-unknown-linux-gnu") GOARCH="linux-arm64";;
|
"Xaarch64-unknown-linux-gnu") GOARCH="linux-arm64";;
|
||||||
*)
|
*)
|
||||||
echo "Unknown arch. Please update the pantry."
|
echo "Unknown arch. Please update the pantry."
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue