Improve autoupdate pipeline

This commit is contained in:
windowsboy111
2022-10-20 19:43:33 +08:00
parent f28deea542
commit f5cf313d1c
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -2,13 +2,13 @@
# generate a new workflow for each folder in anda/
name: Automatically build packages
on:
push:
paths:
- anda/**
branches:
- main
workflow_dispatch:
workflow_call:
jobs:
manifest:
+6 -1
View File
@@ -8,7 +8,7 @@ on:
workflow_dispatch:
jobs:
get-chkupdate-scripts:
autoupdate:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:37
@@ -32,4 +32,9 @@ jobs:
git config user.email "<>"
git commit -a -m "Automatic Update"
git push -u origin main
echo "updated=1" > $GITHUB_ENV
fi
- name: Autobuild
if: ${{ steps.save.outputs.updated }}
uses: terrapkg/packages/.github/workflows/autobuild.yml@manifest