Skip to content

Commit

Permalink
allow packaging releases for all 3 WoW variations
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexFolland committed Jul 4, 2021
1 parent 845a8ca commit 8bc2214
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 2 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# description of this workflow, can be anything you want
name: Package and Release

# we need to let GitHub know _when_ we want to release, typically only when we create a new tag.
# this will target only tags, and not all pushes to the master branch.
# this part can be heavily customized to your liking, like targeting only tags that match a certain word,
# other branches or even pull requests.
on:
push:
tags:
- '[0-9]+-[0-9]+-[0-9]+-release*'

# a workflow is built up as jobs, and within these jobs are steps
jobs:

# "release" is a job, you can name it anything you want
release:

# we can run our steps on pretty much anything, but the "ubuntu-latest" image is a safe bet
runs-on: ubuntu-latest

# specify the environment variables used by the packager, matching the secrets from the project on GitHub
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
#WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
#WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} # "GITHUB_TOKEN" is a secret always provided to the workflow
# for your own token, the name cannot start with "GITHUB_"

# "steps" holds a list of all the steps needed to package and release our AddOn
steps:

# we first have to clone the AddOn project, this is a required step
- name: Clone Project
uses: actions/checkout@v1
with:
# you can specify how much of the commit history you want to fetch,
# which is useful for controlling the length of the automated changelog
fetch-depth: 50

# once cloned, we just run the GitHub Action for the packager project
- name: Package and Release
uses: BigWigsMods/packager@master

# another example where we supply additional arguments, this example is specifically to release
# for the Classic version of the game
# the -g arg releases with all classic tags
# uploading to CurseForge requires the X-Curse-Project-ID field in the toc file, or else no upload
- name: Package and Release for Classic
uses: BigWigsMods/packager@master
with:
args: -g classic

- name: Package and Release for Burning Crusade Classic
uses: BigWigsMods/packager@master
with:
args: -g bcc
5 changes: 5 additions & 0 deletions CooldownReadyFlashDisabler-BCC.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Interface: 20501
## Title: CooldownReadyFlashDisabler
## Notes: Universally disables the "bling" flash animations on action buttons whenever cooldowns become ready

CooldownReadyFlashDisabler.lua
5 changes: 5 additions & 0 deletions CooldownReadyFlashDisabler-Classic.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Interface: 11307
## Title: CooldownReadyFlashDisabler
## Notes: Universally disables the "bling" flash animations on action buttons whenever cooldowns become ready

CooldownReadyFlashDisabler.lua
5 changes: 5 additions & 0 deletions CooldownReadyFlashDisabler-Mainline.toc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Interface: 90100
## Title: CooldownReadyFlashDisabler
## Notes: Universally disables the "bling" flash animations on action buttons whenever cooldowns become ready

CooldownReadyFlashDisabler.lua
10 changes: 8 additions & 2 deletions CooldownReadyFlashDisabler.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
## Interface: 80000
## Interface: 90100
## Interface-Retail: 90100
## Interface-Classic: 11307
## Interface-BCC: 20501
## Title: CooldownReadyFlashDisabler
## Notes: Universally disables the "bling" flash animations on action buttons whenever cooldowns become ready
CooldownReadyFlashDisabler.lua

CooldownReadyFlashDisabler.lua

## X-Curse-Project-ID: 94999

0 comments on commit 8bc2214

Please sign in to comment.