-
Notifications
You must be signed in to change notification settings - Fork 136
42 lines (37 loc) · 1.32 KB
/
Copy pathrelease.yml
File metadata and controls
42 lines (37 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Create Release
on:
workflow_dispatch:
push:
branches:
- 'release/**'
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-15, macos-15-intel, ubuntu-24.04, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup-app
- name: Build
uses: ./.github/actions/build-app
with:
cmd: yarn nx release-app superdb-desktop
gh_token: ${{ secrets.GITHUB_TOKEN }}
# Windows
ssl_com_username: ${{ secrets.WINDOWS_SIGNING_SSL_COM_USERNAME }}
ssl_com_password: ${{ secrets.WINDOWS_SIGNING_SSL_COM_PASSWORD }}
ssl_com_totp_secret: ${{ secrets.WINDOWS_SIGNING_SSL_COM_TOTP_SECRET }}
ssl_com_credential_id: ${{ secrets.WINDOWS_SIGNING_SSL_COM_CREDENTIAL_ID }}
# Mac
apple_id: ${{ secrets.APPLEID_USER }}
apple_id_password: ${{ secrets.APPLEID_PASSWORD }}
apple_team_id: ${{ secrets.APPLE_TEAM_ID }}
cert_p12: ${{ secrets.APPLE_DEVELOPER_ID_CERT_P12_BASE64 }}
cert_passphrase: ${{ secrets.APPLE_DEVELOPER_ID_CERT_PASSPHRASE }}
- name: Upload Artifacts
uses: ./.github/actions/upload-build-artifacts
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}