Skip to content

Commit

Permalink
Add BC build and split builds into push and pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanzilla committed Mar 31, 2021
1 parent 7e0f1a2 commit 66eab9b
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 7 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [push, pull_request]
on: [push]

jobs:
build:
Expand All @@ -16,7 +16,7 @@ jobs:
with:
args: "--no-color -q"
annotate: warning

- name: Create Retail Package
uses: BigWigsMods/packager@master
env:
Expand All @@ -34,3 +34,13 @@ jobs:
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}

- name: Create BC Package
uses: BigWigsMods/packager@master
with:
args: -g bc
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 }}
49 changes: 49 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI-PR

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
with:
fetch-depth: 150

- name: Install and run Luacheck
uses: nebularg/actions-luacheck@v1
with:
args: "--no-color -q"
annotate: warning

- name: Create Retail Package
uses: BigWigsMods/packager@master
with:
args: -d -z

- uses: actions/upload-artifact@v2
with:
name: AIO-PR${{ github.event.number }}
path: .release/

- name: Create Classic Package
uses: BigWigsMods/packager@master
with:
args: -d -z -g classic -m .pkgmeta-classic

- uses: actions/upload-artifact@v2
with:
name: AIO-PR${{ github.event.number }}-classic
path: .release/

- name: Create BC Package
uses: BigWigsMods/packager@master
with:
args: -d -z -g bc -m .pkgmeta-classic

- uses: actions/upload-artifact@v2
with:
name: AIO-PR${{ github.event.number }}-bc
path: .release/

7 changes: 2 additions & 5 deletions AdvancedInterfaceOptions.toc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
#@retail@
## Interface: 90005
#@end-retail@
#@non-retail@
# ## Interface: 11306
#@end-non-retail@
## Interface-Classic: 11306
## Interface-BC: 20501
## Title: Advanced Interface Options
## Author: Stanzilla, Semlar
## Version: @project-version@
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Advanced Interface Options

Restores access to removed interface options in Legion and ads a CVar browser for settings galore.

We are currently covering simple options for the following:
Expand Down

0 comments on commit 66eab9b

Please sign in to comment.