-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add build steps for web and desktop apps in auto-merge workflow * Add Compose packaging option and update auto-merge workflow build tasks * Update build tasks to use wasmJs for web app in auto-merge workflow * Update GitHub Actions to use checkout v4 and setup-java v4 versions and temurin distribution * Update workflow to use JDK 17 with Gradle caching for efficiency
- Loading branch information
Showing
2 changed files
with
23 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Auto Merge Pull Requests | ||
name: Auto Merge Pull Requests Checks | ||
on: | ||
pull_request: | ||
branches: | ||
|
@@ -14,11 +14,28 @@ jobs: | |
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: 'adopt' | ||
cache: 'gradle' | ||
|
||
- name: Build Web Application | ||
run: ./gradlew :composeApp:wasmJsBrowserDevelopmentExecutableDistribution | ||
|
||
- name: Build Desktop Application | ||
run: ./gradlew :composeApp:packageDistributionForCurrentOS | ||
|
||
- name: Automatically Merge Dependabot PRs | ||
if: success() | ||
uses: pascalgn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
MERGE_LABELS: "dependencies" | ||
MERGE_METHOD: "squash" | ||
MERGE_COMMIT_MESSAGE: "pull-request-title" | ||
MERGE_FILTER_AUTHOR: "dependabot[bot]" | ||
MERGE_FILTER_AUTHOR: "dependabot[bot]" |
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