From 814a180a6b6c26ca19d7c4dc7094aa06256325d6 Mon Sep 17 00:00:00 2001 From: Enzo Le Van Date: Mon, 24 Mar 2025 11:09:45 +0100 Subject: [PATCH] fix: allow manual dispatch and ubuntu 22.04 for aarch64 linux --- .github/workflows/release.yml | 8 ++++---- dist-workspace.toml | 11 ++++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ec601d7..984fbd8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,10 +39,10 @@ permissions: # If there's a prerelease-style suffix to the version, then the release(s) # will be marked as a prerelease. on: - pull_request: - push: - tags: - - '**[0-9]+.[0-9]+.[0-9]+*' + release: + types: + - "published" + workflow_dispatch: jobs: # Run 'dist plan' (or host) to determine what tasks we need to do diff --git a/dist-workspace.toml b/dist-workspace.toml index 30b40a8d..f4478d60 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -10,7 +10,13 @@ ci = "github" # The installers to generate for each app installers = ["shell", "powershell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"] +targets = [ + "aarch64-apple-darwin", + "aarch64-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-unknown-linux-gnu", + "x86_64-pc-windows-msvc", +] # Path that installers should place binaries in install-path = "~/.dora/bin" # Whether to install an updater program @@ -23,10 +29,13 @@ dist = false create-release = false # The archive format to use for non-windows builds (defaults .tar.xz) unix-archive = ".tar.gz" +# Skip checking whether the specified configuration files are up to date +allow-dirty = ["ci"] [dist.github-custom-runners] x86_64-pc-windows-msvc = "windows-2022" x86_64-unknown-linux-gnu = "ubuntu-22.04" +aarch64-unknown-linux-gnu = "ubuntu-22.04" global = "ubuntu-22.04" [dist.bin-aliases]