-
Notifications
You must be signed in to change notification settings - Fork 115
42 lines (37 loc) · 910 Bytes
/
build-nightly.yml
File metadata and controls
42 lines (37 loc) · 910 Bytes
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
name: Build Nightly
# **What it does**: Builds the regen application on a set
# schedule using the goreleaser configuration.
#
# **Why we have it**: Ensures the application can be built
# using the goreleaser configuration.
#
# **What does it impact**: Application stability.
on:
schedule:
# Runs "at 1am every day"
- cron: "0 0 * * *"
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build release
run: |
sudo rm -rf dist
make release
env:
GORELEASER_DEBUG: true