-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (30 loc) · 1.12 KB
/
packaging.yaml
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: Build addon zip
on:
push:
tags:
- '*'
jobs:
build:
name: packager
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1 # get the source tree
# Copied from DynamicBoxer's itself inspired from
# from https://github.com/WeakAuras/WeakAuras2/blob/master/.github/workflows/build.yml
# should probably be a docker so a lot of this is cached/created once
- name: Install and run Luacheck
run: |
sudo apt-get install luarocks
luarocks install --local luacheck 0.23.0
exec /home/runner/.luarocks/bin/luacheck AuctionDB/*.lua --no-color --config ./AuctionDB/.luacheckrc -q
- name: Get the packager
run: |
curl -s https://raw.githubusercontent.com/mooreatv/packager/v2m/release.sh > ./release.sh
chmod 755 ./release.sh
- name: Create Multitoc Package
run: ./release.sh -m pkgmeta.yaml
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}