From 96a1852373a49e04403ba61a7cc258f843572f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20Leppa=CC=88la=CC=88?= Date: Thu, 9 Apr 2026 10:48:25 +0300 Subject: [PATCH 1/2] Build executable for linux arm64 --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 149ab52..2aa758d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,10 @@ jobs: arch: x64 platform: linux-x64 target: bun-linux-x64 + - os: ubuntu-24.04-arm + arch: arm64 + platform: linux-arm64 + target: bun-linux-arm64 - os: macos-latest arch: x64 platform: darwin-x64 From f1a95464dc21f1e736465faa9c878063beb59541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20Leppa=CC=88la=CC=88?= Date: Thu, 9 Apr 2026 10:54:28 +0300 Subject: [PATCH 2/2] Update release workflow to trigger on PR changes This enabled testing build on PRs while still skipping release and complete-release jobs. --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2aa758d..4869dad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ on: push: tags: - "v*" + pull_request: workflow_dispatch: jobs: @@ -62,7 +63,7 @@ jobs: src/index.ts --outfile=./bin/linear-release - name: Import code signing certificate - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/') env: CSC_LINK: ${{ secrets.CSC_LINK }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} @@ -76,14 +77,14 @@ jobs: rm certificate.p12 - name: Code sign macOS executable - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/') run: | codesign --entitlements entitlements.mac.plist --force --options runtime \ --sign "Developer ID Application: Linear Orbit, Inc. (${{ secrets.APPLE_TEAM_ID }})" ./bin/linear-release codesign --verify --verbose ./bin/linear-release - name: Notarize macOS executable - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/') env: APPLE_ID: ${{ secrets.APPLE_ID }} APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}