From ed9c7d45f4e6b61d03e15d7ff11e314bb614f0f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Vasconcellos?= Date: Wed, 16 Aug 2023 18:06:38 -0300 Subject: [PATCH] Fix link to expired patched tauri cli artifact breaking macOS builds (#1224) Fix link to expired patched tauri cli artifact Co-authored-by: Ericson "Fogo" Soares --- .github/scripts/setup-system.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/scripts/setup-system.sh b/.github/scripts/setup-system.sh index 735d833f0..9e3f2dd9e 100755 --- a/.github/scripts/setup-system.sh +++ b/.github/scripts/setup-system.sh @@ -221,7 +221,7 @@ if [ "$SYSNAME" = "Linux" ]; then 'This is likely because the RPM Fusion free repository is not enabled.' \ 'https://docs.fedoraproject.org/en-US/quick-docs/setup_rpmfusion' fi - + sudo dnf group install "C Development Tools and Libraries" sudo dnf install $FEDORA_TAURI_DEPS $FEDORA_BINDGEN_DEPS $FEDORA_LIBP2P_DEPS $FEDORA_VIDEO_DEPS else @@ -301,7 +301,6 @@ elif [ "$SYSNAME" = "Darwin" ]; then printf 'yes' exit else - echo 'Failed to download artifact from Github, falling back to nightly.link' >&2 # nightly.link is a workaround for the lack of a public GitHub API to download artifacts from a workflow run # https://github.com/actions/upload-artifact/issues/51 # Use it when running in evironments that are not authenticated with github @@ -350,10 +349,10 @@ elif [ "$SYSNAME" = "Darwin" ]; then ( case "$_arch" in x86_64) - _artifact_id="702683038" + _artifact_id="866514594" ;; arm64) - _artifact_id="702683035" + _artifact_id="866514593" ;; *) err "Unsupported architecture: $_arch" @@ -364,7 +363,6 @@ elif [ "$SYSNAME" = "Darwin" ]; then gh_curl "${_gh_url}/${_sd_gh_path}/actions/artifacts/${_artifact_id}/zip" \ | tar -xf- -C "${_frameworks_dir}/bin" } 2>/dev/null; then - echo 'Failed to download artifact from Github, falling back to nightly.link' >&2 # nightly.link is a workaround for the lack of a public GitHub API to download artifacts from a workflow run # https://github.com/actions/upload-artifact/issues/51 # Use it when running in evironments that are not authenticated with github