- Notifications
You must be signed in to change notification settings - Fork3
ci: build for distribution#37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
87ec698
024d7e3
e64ea22
ce1883e
972f269
63442fe
05582ab
071bf7e
acd271f
d74acf7
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Build a release locally using: op run --env-file="./.env" -- make release | ||
APPLE_CERT="op://Apple/Apple DeveloperID PKCS12 base64/notesPlain" | ||
CERT_PASSWORD="op://Apple/DeveloperID p12 password/password" | ||
APPLE_ID="op://Apple/3apcadvvcojjbpxnd7m5fgh5wm/username" | ||
APPLE_ID_PASSWORD="op://Apple/3apcadvvcojjbpxnd7m5fgh5wm/password" | ||
APP_PROF="op://Apple/Provisioning Profiles/profiles/application_base64" | ||
EXT_PROF="op://Apple/Provisioning Profiles/profiles/extension_base64" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nix/create-dmg/package-lock.json -diff |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version:2 | ||
updates: | ||
-package-ecosystem:"github-actions" | ||
directory:"/" | ||
schedule: | ||
interval:"weekly" | ||
time:"06:00" | ||
timezone:"America/Chicago" | ||
labels:[] | ||
commit-message: | ||
prefix:"ci" | ||
groups: | ||
github-actions: | ||
patterns: | ||
-"*" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: release | ||
on: | ||
release: | ||
types: [published] | ||
permissions: {} | ||
jobs: | ||
build: | ||
runs-on: ${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}} | ||
if: ${{ github.repository_owner == 'coder' }} | ||
permissions: | ||
# To upload assets to the release | ||
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
fetch-depth: 1 | ||
persist-credentials: false | ||
- run: git fetch --tags | ||
- name: Switch XCode Version | ||
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0 | ||
with: | ||
xcode-version: "16.0.0" | ||
- name: Setup Nix | ||
uses: ./.github/actions/nix-devshell | ||
- name: Build | ||
env: | ||
APPLE_CERT: ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_B64 }} | ||
APPLE_ID: ${{ secrets.APPLE_NOTARYTOOL_USERNAME }} | ||
APPLE_ID_PASSWORD: ${{ secrets.APPLE_NOTARYTOOL_PASSWORD }} | ||
APP_PROF: ${{ secrets.CODER_DESKTOP_APP_PROVISIONPROFILE_B64 }} | ||
CERT_PASSWORD: ${{ secrets.APPLE_DEVELOPER_ID_PKCS12_PASSWORD }} | ||
EXT_PROF: ${{ secrets.CODER_DESKTOP_EXTENSION_PROVISIONPROFILE_B64 }} | ||
run: make release | ||
- name: Upload Release Assets | ||
run: gh release upload "$RELEASE_TAG" "$out" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
RELEASE_TAG: ${{ github.event.release.tag_name }} |
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -9,6 +9,8 @@ struct NetworkTab<VPN: VPNService>: View { | ||
} | ||
} | ||
#if DEBUG | ||
#Preview{ | ||
NetworkTab<PreviewVPN>() | ||
} | ||
#endif |
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.