Files
EPANET/.github/workflows/ccpp.yml
Marios S. Kyriakou 86085d4550 Add a cron schedule in actions per month to create artifacts without any commit
at 2023-02-01 00:00:00
then at 2023-03-01 00:00:00
then at 2023-04-01 00:00:00
then at 2023-05-01 00:00:00
then at 2023-06-01 00:00:00
...

Co-Authored-By: Elad Salomons <selad@optiwater.com>
2023-01-17 00:32:39 +02:00

28 lines
527 B
YAML

name: linux
on:
push:
pull_request:
schedule:
- cron: '0 0 1 * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: setup_build_dir
run: mkdir buildproducts
- name: cmake
working-directory: ./buildproducts
run: cmake ..
- name: make
working-directory: ./buildproducts
run: make
- uses: actions/upload-artifact@v2
with:
name: libepanet-output
path: /home/runner/work/EPANET/EPANET/buildproducts/