Skip to content

Commit

Permalink
Add build steps for web and desktop apps in auto-merge workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mbakgun committed Nov 15, 2024
1 parent 0ca7adf commit 4664c80
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,27 @@ jobs:
contents: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'

- name: Build Web Application
run: ./gradlew :composeApp:wasmJsBrowserDevelopmentRun

- name: Build Desktop Application
run: ./gradlew :composeApp:run

- 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]"

0 comments on commit 4664c80

Please sign in to comment.