Skip to content

Commit 5a0deba

Browse files
committed
retry
1 parent dbfb78e commit 5a0deba

File tree

4 files changed

+13
-21
lines changed

4 files changed

+13
-21
lines changed

.github/workflows/ci.yml

-15
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ jobs:
1919
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
2020
if: false
2121
steps:
22-
- name: Harden Runner
23-
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
24-
with:
25-
egress-policy: audit
26-
2722
- name: Checkout
2823
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2924
with:
@@ -46,11 +41,6 @@ jobs:
4641
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
4742
if: false
4843
steps:
49-
- name: Harden Runner
50-
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
51-
with:
52-
egress-policy: audit
53-
5444
- name: Checkout
5545
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5646
with:
@@ -73,11 +63,6 @@ jobs:
7363
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
7464
if: false
7565
steps:
76-
- name: Harden Runner
77-
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
78-
with:
79-
egress-policy: audit
80-
8166
- name: Checkout
8267
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8368
with:

.github/workflows/release.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,14 @@ on:
1010

1111
jobs:
1212
build:
13-
runs-on: 'macos-15'
13+
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
1414
if: ${{ github.repository_owner == 'coder' }}
1515
env:
1616
CERT_PATH: /tmp/apple_cert.p12
1717
APP_PROF_PATH: /tmp/app.provisionprofile
1818
EXT_PROF_PATH: /tmp/ext.provisionprofile
1919
KEYCHAIN_PATH: /tmp/app-signing.keychain-db
2020
steps:
21-
- name: Harden Runner
22-
uses: step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e # v2.10.4
23-
with:
24-
egress-policy: audit
25-
2621
- name: Checkout
2722
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2823
with:
@@ -58,6 +53,14 @@ jobs:
5853
- name: Build
5954
run: |
6055
./scripts/build.sh
56+
57+
- name: Upload Build Artifacts
58+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
59+
with:
60+
name: app
61+
path: |
62+
./build
63+
retention-days: 7
6164

6265
- name: Clean Up
6366
if: always()

Coder Desktop/project.yml

+2
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ targets:
151151
embed: true
152152
- target: VPNXPC
153153
embed: true
154+
- target: VPNLib
155+
embed: true
154156
- target: VPN
155157
embed: without-signing # Embed without signing.
156158
- package: FluidMenuBarExtra

scripts/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ xcodebuild \
3535
-skipPackagePluginValidation \
3636
CODE_SIGN_STYLE=Manual \
3737
CODE_SIGN_IDENTITY="$CODE_SIGN_IDENTITY" | xcpretty
38+
39+
ditto "$(find "$HOME/Library/Developer/Xcode/DerivedData" -name "Coder Desktop.app")" "./build/Coder Desktop.app"

0 commit comments

Comments
 (0)