From ee515573a2570b346ef5e559bb526d54ef6ed694 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Tue, 20 Jan 2026 22:42:26 -0600 Subject: [PATCH] fix: ARM64 workflow version extraction from tag/input --- .github/workflows/release-linux-aarch64.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-linux-aarch64.yml b/.github/workflows/release-linux-aarch64.yml index 1b7f43b4c..471dda6eb 100644 --- a/.github/workflows/release-linux-aarch64.yml +++ b/.github/workflows/release-linux-aarch64.yml @@ -2,6 +2,11 @@ name: Linux ARM64 (aarch64) Build on: workflow_dispatch: + inputs: + tag: + description: "Optional release tag to build (e.g. v1.1.6)" + required: false + type: string push: branches: [main] tags: @@ -23,6 +28,18 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Determine version + id: release + run: | + VERSION="" + if [[ "${GITHUB_REF}" == refs/tags/v* ]]; then + VERSION="${GITHUB_REF#refs/tags/v}" + elif [[ -n "${{ inputs.tag }}" ]]; then + VERSION="${{ inputs.tag }}" + VERSION="${VERSION#v}" + fi + echo "version=$VERSION" >> "$GITHUB_OUTPUT" + - name: Setup Node uses: actions/setup-node@v4 with: @@ -56,7 +73,7 @@ jobs: - name: Collect artifacts env: - VERSION: ${{ github.event.release.tag_name || 'dev' }} + VERSION: ${{ steps.release.outputs.version }} run: | mkdir -p dist cp -v src-tauri/target/release/bundle/deb/*.deb dist/ || true