Skip to content

Commit a962fc5

Browse files
committed
add Amore GitHub workflow
1 parent 3079927 commit a962fc5

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/test-release.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Amore Release
2+
run-name: Release Pomodoro ${{ (inputs.beta || github.ref != 'refs/heads/main') && '(beta)' || '' }}
3+
4+
on:
5+
push:
6+
branches: ['**']
7+
workflow_dispatch:
8+
inputs:
9+
beta:
10+
type: boolean
11+
default: false
12+
description: Publish as beta channel
13+
build-number:
14+
type: string
15+
default: timestamp
16+
description: Build number (integer or "timestamp")
17+
marketing-version:
18+
type: string
19+
default: ""
20+
description: Override marketing version (e.g. 1.0.1)
21+
22+
concurrency:
23+
group: amore-release
24+
cancel-in-progress: true
25+
26+
jobs:
27+
release:
28+
runs-on: macos-26
29+
environment: prod
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- uses: AmoreComputer/release-action@main
34+
with:
35+
scheme: Pomodoro
36+
codesign-identity: ${{ secrets.CODESIGN_IDENTITY }}
37+
dev-id-cert-p12: ${{ secrets.DEV_ID_CERT_P12 }}
38+
dev-id-cert-password: ${{ secrets.DEV_ID_CERT_PASSWORD }}
39+
sparkle-private-key: ${{ secrets.SPARKLE_PRIVATE_KEY }}
40+
asc-api-key-id: ${{ secrets.ASC_API_KEY_ID }}
41+
asc-api-issuer: ${{ secrets.ASC_API_ISSUER }}
42+
asc-api-key: ${{ secrets.ASC_API_KEY }}
43+
amore-token: ${{ secrets.AMORE_TOKEN }}
44+
beta: ${{ (inputs.beta || github.ref != 'refs/heads/main') && 'true' || 'false' }}
45+
build-number: ${{ inputs.build-number || 'timestamp' }}
46+
marketing-version: ${{ inputs.marketing-version }}

0 commit comments

Comments
 (0)