mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-11 14:10:42 +00:00
Improve autoupdate pipeline
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user