-
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (56 loc) · 1.47 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Nightly
on:
workflow_dispatch:
schedule:
- cron: '17 3 * * 1'
jobs:
build:
name: Build
uses: ./.github/workflows/reusable-build.yml
virustotal:
name: VirusTotal Scan
runs-on: ubuntu-latest
permissions:
contents: read
timeout-minutes: 10
needs: build
steps:
- name: Download Windows x64
uses: actions/download-artifact@v4
with:
name: extension-x64-windows
path: .
- name: Download Linux x64
uses: actions/download-artifact@v4
with:
name: extension-x64-linux
path: .
- name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v4
with:
vt_api_key: ${{ secrets.VIRUSTOTAL_APIKEY }}
request_rate: 4
files: |
./dynops_x64.dll
./dynops_x64.so
pre-release:
name: Publish pre-release
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
permissions:
contents: write
steps:
- name: Download Addon
uses: actions/download-artifact@v4
with:
name: addon
path: .
- name: Push pre-release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development build"
files: dynops-latest.zip