Skip to content

Commit 3c1cc48

Browse files
authored
ci: nightly build (#45)
1 parent 5923277 commit 3c1cc48

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Nightly Release
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: 0 0 * * *
6+
7+
jobs:
8+
nightly:
9+
name: Nightly build
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v5
13+
- uses: extractions/setup-just@v3
14+
- uses: erlef/setup-beam@v1
15+
with:
16+
otp-version: "27.3.4.1"
17+
elixir-version: "1.17.3"
18+
version-type: strict
19+
- uses: mlugg/setup-zig@v2
20+
with:
21+
version: "0.14.1"
22+
- run: just release-all
23+
env:
24+
MIX_ENV: prod
25+
- name: Create Checksum
26+
run: |
27+
cd ./apps/expert/burrito_out
28+
chmod +x ./*
29+
shasum -a 256 ./* > expert_checksums.txt
30+
cd ../../../
31+
- name: Delete previous nightly release
32+
run: |
33+
gh release delete nightly --yes || true
34+
git push origin :nightly || true
35+
- name: Create nightly release
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.token }}
38+
run: gh release create nightly --prerelease ./apps/expert/burrito_out/*

0 commit comments

Comments
 (0)