ci: setup release workflow
This commit is contained in:
parent
6841c52dbf
commit
39683c6833
2 changed files with 71 additions and 0 deletions
25
.github/workflows/foss-release.yml
vendored
Normal file
25
.github/workflows/foss-release.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
name: Github Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- "*.*.*"
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
call-release-workflow:
|
||||||
|
uses: FossifyOrg/.github/.github/workflows/release.yml@main
|
||||||
|
with:
|
||||||
|
tag: ${{ github.ref_name }}
|
||||||
|
flavor: "foss"
|
||||||
|
package_name: "org.fossify.messages"
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
||||||
|
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
||||||
|
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||||
|
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
||||||
|
SERVICE_ACCOUNT_JSON_KEY_BASE64: ""
|
||||||
|
FOSSIFYBOT_TOKEN: ${{ secrets.FOSSIFYBOT_TOKEN }}
|
||||||
46
.github/workflows/gplay-release.yml
vendored
Normal file
46
.github/workflows/gplay-release.yml
vendored
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
name: Google Play Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
track:
|
||||||
|
description: "Google Play Store release track"
|
||||||
|
required: false
|
||||||
|
type: choice
|
||||||
|
default: "beta"
|
||||||
|
options:
|
||||||
|
- internal
|
||||||
|
- alpha
|
||||||
|
- beta
|
||||||
|
- production
|
||||||
|
rollout:
|
||||||
|
description: "Rollout fraction (0.0-1.0)"
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: "0.05"
|
||||||
|
validate_only:
|
||||||
|
description: "Fastlane dry-run?"
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
call-release-workflow:
|
||||||
|
uses: FossifyOrg/.github/.github/workflows/release.yml@main
|
||||||
|
with:
|
||||||
|
flavor: "gplay"
|
||||||
|
package_name: "org.fossify.messages"
|
||||||
|
track: ${{ github.event.inputs.track }}
|
||||||
|
rollout: ${{ github.event.inputs.rollout }}
|
||||||
|
validate_only: ${{ github.event.inputs.validate_only == 'true' }}
|
||||||
|
|
||||||
|
secrets:
|
||||||
|
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
||||||
|
SIGNING_KEY_ALIAS: ${{ secrets.SIGNING_KEY_ALIAS }}
|
||||||
|
SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }}
|
||||||
|
SIGNING_STORE_PASSWORD: ${{ secrets.SIGNING_STORE_PASSWORD }}
|
||||||
|
SERVICE_ACCOUNT_JSON_KEY_BASE64: ${{ secrets.SERVICE_ACCOUNT_JSON_KEY_BASE64 }}
|
||||||
|
FOSSIFYBOT_TOKEN: ""
|
||||||
Loading…
Add table
Add a link
Reference in a new issue