Skip to content

Nightly build

Nightly build #132

name: Nightly build
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch: # Allows manual triggering of the workflow
jobs:
nightly-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.22
- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.14.4
- name: Install yq
run: |
sudo wget https://github.com/mikefarah/yq/releases/download/v4.42.1/yq_linux_amd64 -O /usr/bin/yq &&\
sudo chmod +x /usr/bin/yq
- name: make build
run: |
make build > output.log 2>&1
continue-on-error: false
- name: Upload script output
uses: actions/upload-artifact@v4
with:
name: script-output
path: output.log
- name: Create issue from file on failure
if: failure()
uses: peter-evans/create-issue-from-file@v5
with:
title: nightly build failure
content-filepath: output.log
assignees: dannykopping