This commit is contained in:
Max Howell 2022-08-19 16:08:56 -04:00 committed by GitHub
parent 974af85f68
commit 85ad44e24a
2 changed files with 4 additions and 1 deletions

View file

@ -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

View file

@ -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