Skip to content

Commit ba1a463

Browse files
authored
CI: Integrate workflow_triggers for nowinandroid from cartland's fork (#1873)
* Update workflow triggers - Build.yaml: Add workflow_dispatch, specify branches for pull_request. - NightlyBaselineProfiles.yaml: Add workflow_dispatch and push (main) triggers. - Release.yml: Add workflow_dispatch trigger. * Allow build for PR on all branches * Remove the push trigger for NightlyBaselineProfiles.yaml
1 parent 689ef92 commit ba1a463

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/Build.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Build
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main

.github/workflows/NightlyBaselineProfiles.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: NightlyBaselineProfiles
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '42 4 * * *'
67

.github/workflows/Release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: GitHub Release with APKs
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- 'v*'
@@ -75,4 +76,4 @@ jobs:
7576
upload_url: ${{ steps.create_release.outputs.upload_url }}
7677
asset_path: app/build/outputs/apk/demo/release/app-demo-release.apk
7778
asset_name: app-demo-release.apk
78-
asset_content_type: application/vnd.android.package-archive
79+
asset_content_type: application/vnd.android.package-archive

0 commit comments

Comments
 (0)