Skip to content

Commit

Permalink
use base builder
Browse files Browse the repository at this point in the history
  • Loading branch information
neil committed Dec 10, 2023
1 parent 69a920d commit eb51498
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/data/datafile.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@


VM_OS_NAME=omnios

42 changes: 42 additions & 0 deletions .github/workflows/syncbase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "Step 1, Sync generate.yml from Base Builder"
on:
schedule:
- cron: '0 1 * * *'
workflow_dispatch:
push:
branches:
- 'main'
paths:
- '.github/data/*'
- 'conf/*'
- '.github/workflows/syncbase.yml'


jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.VM_TOKEN }}

- name: Using main branch
run: |
git switch main || (git fetch --all && git checkout -b main origin/main)
git clone https://github.com/vmactions/base-builder.git
- name: Sync generate.yml
uses: vmactions/[email protected]
with:
datafile: .github/data/datafile.ini
files: |
base-builder/.github/tpl/generate.tpl.yml : .github/workflows/generate.yml
- uses: EndBug/add-and-commit@v9
with:
message: "Sync from base-builder"
pull: '--rebase --autostash '
add: |
.github/workflows/generate.yml
4 changes: 4 additions & 0 deletions conf/all.release.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

ALL_RELEASES='"r151046", "r151048"'


0 comments on commit eb51498

Please sign in to comment.