Updated changelog #74
Workflow file for this run
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
# description of this workflow, can be anything you want | |
name: Package and release alpha and beta version | |
on: | |
push: | |
tags: | |
- "**-beta**" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# First, clone the addon repository | |
- name: Clone project | |
uses: actions/checkout@v4 | |
- name: Update Build Date in release changelog | |
run: sed -i "s/@build-time@/`date +%Y-%m-%d`/" CHANGELOG.md | |
- name: Update Build Date in release changelog | |
run: sed -i "s/@build-time@/`date +%Y-%m-%d`/" TidyPlates_ThreatPlates_Changes.log | |
- name: Create Mainline Package | |
uses: BigWigsMods/packager@v2 | |
with: | |
args: -e -l -n "ThreatPlates-{project-version}{classic}" -g retail | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
#WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | |
- name: Create Vaniella Package | |
uses: BigWigsMods/packager@v2 | |
with: | |
args: -e -l -n "ThreatPlates-{project-version}{classic}" -g classic | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
#WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | |
# - name: Create TBC Classic Package | |
# uses: BigWigsMods/packager@v2 | |
# with: | |
# args: -e -l -n "ThreatPlates-{project-version}{classic}" -g bcc | |
# env: | |
# CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
# GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
# WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
# #WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | |
# - name: Create Wrath Classic Package | |
# uses: BigWigsMods/packager@v2 | |
# with: | |
# args: -e -l -n "ThreatPlates-{project-version}{classic}" -g wrath | |
# env: | |
# CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
# GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
# WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
# #WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | |
- name: Create Cata Classic Package | |
uses: BigWigsMods/packager@v2 | |
with: | |
args: -e -l -n "ThreatPlates-{project-version}{classic}" -g cata | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | |
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }} | |
#WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | |
# - name: Send Status to Discord | |
# uses: nebularg/actions-discord-webhook@v1 | |
# with: | |
# webhook_url: ${{ secrets.WEBHOOK_URL }} | |
# status: ${{ job.status }} | |
# if: failure() |