-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (36 loc) · 1013 Bytes
/
configure.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Generate and Upload configure.sh
on:
push:
branches:
- main
schedule:
- cron: "0 0,12 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: configure
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
bash install-dependencies.sh
- name: Generate script
run: mkdir outputs && python generate.py | tee outputs/generate.log
- name: Update nightly release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "nightly"
prerelease: true
title: "nightly vyos configuration"
files: |
configure/outputs/generate.log
configure/outputs/*.sh