-
-
Notifications
You must be signed in to change notification settings - Fork 6
32 lines (27 loc) · 952 Bytes
/
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
name: Release
on:
push:
tags:
- '[0-9]*'
- 'v[0-9]*'
jobs:
build:
runs-on: ubuntu-latest
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
GITHUB_OAUTH: ${{ secrets.GH_OAUTH }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Install and run Luacheck
run: |
sudo apt-get install luarocks
luarocks install --local luacheck
/home/runner/.luarocks/bin/luacheck . --no-color -q
- name: Create Package
run: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash;
if: '!contains( github.ref, ''beta'')'
- name: Create Pre-Release Package
run: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -p 0 -w 0 -a 0;
if: 'contains( github.ref, ''beta'')'