-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (36 loc) · 899 Bytes
/
nightly.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
name: Nightly
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
build:
uses: ./.github/workflows/build.yml
with:
souffle-ref: master
nightly:
runs-on: ubuntu-latest
permissions:
contents: write
needs: build
steps:
- name: Download souffle artifacts
uses: actions/download-artifact@v3
with:
name: souffle
path: souffle
- name: Download souffle-static artifacts
uses: actions/download-artifact@v3
with:
name: souffle-static
path: souffle-static
- name: Zip files
run: |
zip -rv souffle.zip souffle
zip -rv souffle-static.zip souffle-static
- name: Update Nightly Release
uses: andelf/nightly-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: ./*.zip