-
Notifications
You must be signed in to change notification settings - Fork 7
43 lines (39 loc) · 1.22 KB
/
ci.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
name: CI
on: [push, pull_request, workflow_dispatch]
jobs:
lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: npm install prettier
- run: npm run format:check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: chmod 744 ./release_make/CI.sh
- run: ./release_make/CI.sh
- uses: actions/upload-artifact@v4
with:
name: Fairyground-Windows-x86_64
path: ./release_make/release-builds/win/x64/*
compression-level: 9
if-no-files-found: error
- uses: actions/upload-artifact@v4
with:
name: Fairyground-Windows-ARM64
path: ./release_make/release-builds/win/arm64/*
compression-level: 9
if-no-files-found: error
- uses: actions/upload-artifact@v4
with:
name: Fairyground-Linux-x86_64
path: ./release_make/release-builds/linux/x64/*
compression-level: 9
if-no-files-found: error
- uses: actions/upload-artifact@v4
with:
name: Fairyground-Linux-ARM64
path: ./release_make/release-builds/linux/arm64/*
compression-level: 9
if-no-files-found: error