-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release Android 2.2.0
- Loading branch information
Showing
164 changed files
with
5,722 additions
and
2,074 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
name: Publish | ||
concurrency: # Cancel currently running releases when a new one is started | ||
group: publish-${{ github.ref_name }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
branches: | ||
- develop | ||
- main | ||
inputs: | ||
androidOnly: | ||
type: boolean | ||
description: Release android only | ||
default: false | ||
push: | ||
branches: | ||
- develop | ||
- main | ||
paths: | ||
- 'androidApp/**' | ||
- '!androidApp/version.properties' | ||
- 'shared/**' | ||
- 'buildSrc/**' | ||
- 'build.gradle.kts' | ||
- 'gradle.properties' | ||
- 'settings.gradle.kts' | ||
- 'gradle/**' | ||
|
||
jobs: | ||
changes: | ||
name: Identify changed modules | ||
runs-on: ubuntu-latest | ||
outputs: | ||
android: ${{ steps.changes.outputs.android }} | ||
shared: ${{ steps.changes.outputs.shared }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check changes | ||
uses: dorny/paths-filter@v3 | ||
id: changes | ||
with: | ||
base: ${{ github.ref }} | ||
filters: | | ||
android: | ||
- 'androidApp/**' | ||
shared: | ||
- 'shared/**' | ||
- 'buildSrc/**' | ||
- 'build.gradle.kts' | ||
- 'gradle.properties' | ||
- 'settings.gradle.kts' | ||
- 'gradle/**' | ||
release-shared: | ||
name: Release shared | ||
permissions: | ||
contents: write | ||
packages: write | ||
needs: changes | ||
if: ${{ (github.event_name != 'workflow_dispatch' && needs.changes.outputs.shared == 'true') || (github.event_name == 'workflow_dispatch' && !github.event.inputs.androidOnly) }} | ||
uses: touchlab/KMMBridgeGithubWorkflow/.github/workflows/[email protected] | ||
with: | ||
jvmVersion: 17 | ||
versionBaseProperty: SHARED_BASE_VERSION | ||
# kmmBridgePublish = xcFramework, publishAndroidReleasePublicationToGitHubPackagesRepository = Android lib | ||
publishTask: kmmBridgePublish publishAndroidReleasePublicationToGitHubPackagesRepository | ||
secrets: | ||
gradle_params: "-PGITHUB_BRANCH=${{ github.ref_name }}" | ||
|
||
|
||
android-after-shared: | ||
name: Release Android | ||
needs: release-shared | ||
uses: ./.github/workflows/publishAndroid.yml | ||
secrets: inherit | ||
|
||
android-only: | ||
name: Release Android only | ||
needs: changes | ||
if: ${{ (needs.changes.outputs.android == 'true' && needs.changes.outputs.shared == 'false') || (github.event_name == 'workflow_dispatch' && github.event.inputs.androidOnly) }} | ||
uses: ./.github/workflows/publishAndroid.yml | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.