Build KiwiFarm #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build KiwiFarm | |
on: | |
workflow_dispatch: | |
inputs: | |
retail: | |
type: boolean | |
description: Retail | |
cata: | |
type: boolean | |
description: Cataclysm | |
wrath: | |
type: boolean | |
description: Wrath | |
bcc: | |
type: boolean | |
description: Burning | |
classic: | |
type: boolean | |
description: Classic | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
fetch-depth: 200 | |
- name: Create Retail Package | |
if: ${{ inputs.retail }} | |
uses: BigWigsMods/packager@master | |
with: | |
args: -g retail -m .pkgmeta-retail | |
env: | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
- name: Create Cata Package | |
if: ${{ inputs.cata }} | |
uses: BigWigsMods/packager@master | |
with: | |
args: -g cata -m .pkgmeta-classic | |
env: | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
- name: Create Wrath Package | |
if: ${{ inputs.wrath }} | |
uses: BigWigsMods/packager@master | |
with: | |
args: -g wrath -m .pkgmeta-classic | |
env: | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
- name: Create BCC Package | |
if: ${{ inputs.bcc }} | |
uses: BigWigsMods/packager@master | |
with: | |
args: -g bcc -m .pkgmeta-classic | |
env: | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
- name: Create Vanilla Package | |
if: ${{ inputs.classic }} | |
uses: BigWigsMods/packager@master | |
with: | |
args: -g classic -m .pkgmeta-classic | |
env: | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} |