ci: update release workflows
This commit is contained in:
parent
9f89acafa1
commit
cfe6ccbe73
15
.github/workflows/foss-release.yml
vendored
15
.github/workflows/foss-release.yml
vendored
@ -1,15 +0,0 @@
|
|||||||
name: Github Release
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- "*.*.*"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
call-release-workflow:
|
|
||||||
uses: FossifyOrg/.github/.github/workflows/release.yml@main
|
|
||||||
with:
|
|
||||||
tag: ${{ github.ref_name }}
|
|
||||||
flavor: "foss"
|
|
||||||
package_name: "org.fossify.voicerecorder"
|
|
||||||
secrets: inherit
|
|
36
.github/workflows/gplay-release.yml
vendored
36
.github/workflows/gplay-release.yml
vendored
@ -1,36 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
call-release-workflow:
|
|
||||||
uses: FossifyOrg/.github/.github/workflows/release.yml@main
|
|
||||||
with:
|
|
||||||
flavor: "gplay"
|
|
||||||
package_name: "org.fossify.voicerecorder"
|
|
||||||
track: ${{ github.event.inputs.track }}
|
|
||||||
rollout: ${{ github.event.inputs.rollout }}
|
|
||||||
validate_only: ${{ github.event.inputs.validate_only == 'true' }}
|
|
||||||
secrets: inherit
|
|
2
.github/workflows/pr.yml
vendored
2
.github/workflows/pr.yml
vendored
@ -2,7 +2,7 @@ name: PR
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
call-pr-workflow:
|
call-pr-workflow:
|
||||||
|
11
.github/workflows/prepare-release-pr.yml
vendored
Normal file
11
.github/workflows/prepare-release-pr.yml
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
name: Prepare Release PR
|
||||||
|
|
||||||
|
on:
|
||||||
|
repository_dispatch:
|
||||||
|
types: [prepare-release]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
call-release-pr:
|
||||||
|
uses: FossifyOrg/.github/.github/workflows/prepare-release-pr.yml@main
|
||||||
|
secrets: inherit
|
10
.github/workflows/release-commenter.yml
vendored
10
.github/workflows/release-commenter.yml
vendored
@ -1,10 +0,0 @@
|
|||||||
name: Release Commenter
|
|
||||||
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
call-release-commenter:
|
|
||||||
uses: FossifyOrg/.github/.github/workflows/release-commenter.yml@main
|
|
||||||
secrets: inherit
|
|
17
.github/workflows/release.yml
vendored
Normal file
17
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
paths:
|
||||||
|
- ".fossify/release-marker.txt"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
call-release-workflow:
|
||||||
|
name: Release
|
||||||
|
uses: FossifyOrg/.github/.github/workflows/release.yml@main
|
||||||
|
with:
|
||||||
|
track: ${{ vars.GPLAY_TRACK || 'beta' }}
|
||||||
|
rollout: ${{ vars.GPLAY_ROLLOUT || '0.05' }}
|
||||||
|
validate_only: ${{ vars.GPLAY_DRY_RUN == 'true' }}
|
||||||
|
secrets: inherit
|
2
.github/workflows/testing-build.yml
vendored
2
.github/workflows/testing-build.yml
vendored
@ -2,7 +2,7 @@ name: Testing build (on PR)
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ main ]
|
||||||
types: [ labeled, opened, synchronize, reopened ]
|
types: [ labeled, opened, synchronize, reopened ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user