ci: update release workflows

This commit is contained in:
Naveen Singh 2025-06-06 20:43:44 +05:30 committed by GitHub
parent 9f89acafa1
commit cfe6ccbe73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 30 additions and 63 deletions

View File

@ -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

View File

@ -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

View File

@ -2,7 +2,7 @@ name: PR
on:
pull_request:
branches: [ master ]
branches: [ main ]
jobs:
call-pr-workflow:

View 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

View File

@ -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
View 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

View File

@ -2,7 +2,7 @@ name: Testing build (on PR)
on:
pull_request:
branches: [ master ]
branches: [ main ]
types: [ labeled, opened, synchronize, reopened ]
jobs: