File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 tags :
66 - " v*"
7+ pull_request :
78 workflow_dispatch :
89
910jobs :
1718 arch : x64
1819 platform : linux-x64
1920 target : bun-linux-x64
21+ - os : ubuntu-24.04-arm
22+ arch : arm64
23+ platform : linux-arm64
24+ target : bun-linux-arm64
2025 - os : macos-latest
2126 arch : x64
2227 platform : darwin-x64
5863 src/index.ts --outfile=./bin/linear-release
5964
6065 - name : Import code signing certificate
61- if : matrix.os == 'macos-latest'
66+ if : matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')
6267 env :
6368 CSC_LINK : ${{ secrets.CSC_LINK }}
6469 CSC_KEY_PASSWORD : ${{ secrets.CSC_KEY_PASSWORD }}
@@ -72,14 +77,14 @@ jobs:
7277 rm certificate.p12
7378
7479 - name : Code sign macOS executable
75- if : matrix.os == 'macos-latest'
80+ if : matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')
7681 run : |
7782 codesign --entitlements entitlements.mac.plist --force --options runtime \
7883 --sign "Developer ID Application: Linear Orbit, Inc. (${{ secrets.APPLE_TEAM_ID }})" ./bin/linear-release
7984 codesign --verify --verbose ./bin/linear-release
8085
8186 - name : Notarize macOS executable
82- if : matrix.os == 'macos-latest'
87+ if : matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')
8388 env :
8489 APPLE_ID : ${{ secrets.APPLE_ID }}
8590 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
You can’t perform that action at this time.
0 commit comments