This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
VERSION=1.11.5 | |
# Determine the platform and architecture | |
get_architecture() { | |
UNAME_S="$(uname -s)" | |
UNAME_M="$(uname -m)" | |
case "$UNAME_S" in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/local/bin/ | |
# download and decompress binary, add executable permission, move app to apps dir | |
# set variables | |
TAG_NAME=$(gh release list --repo jj-vcs/jj --limit 1 --json tagName | jq -r '.[0].tagName') | |
if [[ "$(uname -m)" == *x86* ]]; then ARCH="x86_64"; else ARCH="aarch64"; fi | |
OS_TYPE=$(uname -s | tr '[:upper:]' '[:lower:]') | |
# download release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Setup service manifest | |
working-directory: ./application | |
env: | |
CLOUDRUN_SA: ${{ secrets.CLOUD_RUN_SA }} | |
FIRESTORE_DB: ${{ secrets.FIRESTORE_DB }} | |
APP_NAME: ${{ env.app_name }} | |
GCP_PROJECT: ${{ env.gcp_project }} | |
GCP_PROJECT_NUMBER: ${{ env.gcp_project_number }} | |
GCP_REGION: ${{ env.gcp_region }} | |
run: | |