feat: receive automatic updates

This commit is contained in:
Oskar Manhart 2024-08-07 11:00:06 +02:00 committed by GitHub
parent 30a9d11fe4
commit c3fc99dda9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

25
.github/workflows/update.yaml vendored Normal file
View File

@ -0,0 +1,25 @@
name: Update submodules
on:
repository_dispatch:
types: update
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update module
run: |
git submodule update --init --recursive --checkout -f
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
add: "WinApps-Launcher"
default_author: github_actions
message: "Update submodules"
push: true
fetch: true