mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-12-21 23:25:51 +02:00
fetch tea for the matching architecture
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/11 Co-authored-by: Léana 江 <leana.jiang@icloud.com> Co-committed-by: Léana 江 <leana.jiang@icloud.com>
This commit is contained in:
parent
93cfaf8d53
commit
eb0fcc44a1
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ export GNUPGHOME
|
|||
|
||||
setup_tea() {
|
||||
if ! test -f $BIN_DIR/tea ; then
|
||||
curl -sL https://dl.gitea.io/tea/$TEA_VERSION/tea-$TEA_VERSION-linux-amd64 > $BIN_DIR/tea
|
||||
ARCH=$(dpkg --print-architecture)
|
||||
curl -sL https://dl.gitea.io/tea/$TEA_VERSION/tea-$TEA_VERSION-linux-$ARCH > $BIN_DIR/tea
|
||||
chmod +x $BIN_DIR/tea
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue