forked from Aermoss/VEGA
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (54 loc) · 1.38 KB
/
build.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
name: build vega
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
#build-linux:
#runs-on: ubuntu-latest
#steps:
#- uses: actions/checkout@v4
#- name: perms fix
# run: chmod +x build_norun.sh
#- name: make
# run: ./build_norun.sh
#- uses: actions/[email protected]
# with:
# name: vega-linux
# path: bin
#- name: Upload to Release Action
# uses: Shopify/[email protected]
# with:
# name: vega-linux
# path: bin
# repo-token: ${{ secrets.GITHUB_TOKEN }}
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: make
run: ./build_norun.cmd
- uses: actions/[email protected]
with:
name: vega-windows
path: bin
- name: compress bin
uses: thedoctor0/[email protected]
with:
type: 'zip'
filename: 'vega-windows.zip'
path: bin/
- name: Upload to Release Action
uses: softprops/action-gh-release@v2
with:
body: automatic release by github actions
prerelease: true
files: ${{ github.workspace }}/vega-windows.zip
name: autobuild
tag_name: autobuild
- name: notify discord
uses: tsickert/[email protected]
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK }}