Skip to content

Commit 00dd6f4

Browse files
committed
ci: setup release workflow
1 parent 9f81ce7 commit 00dd6f4

File tree

2 files changed

+71
-0
lines changed

2 files changed

+71
-0
lines changed

.github/workflows/foss-release.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Github Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "*.*.*"
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
call-release-workflow:
13+
uses: FossifyOrg/.github/.github/workflows/release.yml@main
14+
with:
15+
tag: ${{ github.ref_name }}
16+
flavor: "foss"
17+
package_name: "org.fossify.filemanager"
18+
19+
secrets:
20+
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
21+
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
22+
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
23+
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
24+
SERVICE_ACCOUNT_JSON_KEY_BASE64: ""
25+
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Google Play Release
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
track:
7+
description: "Google Play Store release track"
8+
required: false
9+
type: choice
10+
default: "beta"
11+
options:
12+
- internal
13+
- alpha
14+
- beta
15+
- production
16+
rollout:
17+
description: "Rollout fraction (0.0-1.0)"
18+
required: false
19+
type: string
20+
default: "0.05"
21+
validate_only:
22+
description: "Fastlane dry-run?"
23+
required: false
24+
type: boolean
25+
default: false
26+
27+
permissions:
28+
contents: read
29+
30+
jobs:
31+
call-release-workflow:
32+
uses: FossifyOrg/.github/.github/workflows/release.yml@main
33+
with:
34+
flavor: "gplay"
35+
package_name: "org.fossify.filemanager"
36+
track: ${{ github.event.inputs.track }}
37+
rollout: ${{ github.event.inputs.rollout }}
38+
validate_only: ${{ github.event.inputs.validate_only == 'true' }}
39+
40+
secrets:
41+
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
42+
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
43+
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
44+
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
45+
SERVICE_ACCOUNT_JSON_KEY_BASE64: ${{ secrets.SERVICE_ACCOUNT_JSON_KEY_BASE64 }}
46+
FOSSIFYBOT_TOKEN: ""

0 commit comments

Comments
 (0)