This repository has been archived by the owner on Jan 12, 2023. It is now read-only.
forked from WeakAuras/WeakAuras2
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
106 additions
and
104 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,47 @@ | ||
name: CI-Beta | ||
|
||
on: | ||
push: | ||
branches: | ||
- shadowlands | ||
tags: | ||
- "**-alpha**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 500 | ||
|
||
- name: Install and run Luacheck | ||
uses: nebularg/actions-luacheck@v1 | ||
with: | ||
args: "--no-color -q" | ||
annotate: warning | ||
|
||
- name: Generate Changelog | ||
run: ./generate_changelog.sh | ||
|
||
- name: Update Build Date | ||
run: sed -i "s/@build-time@/`date +%Y%m%d%H%M%S`/" WeakAuras/Init.lua | ||
|
||
- name: Create Package | ||
uses: BigWigsMods/packager@master | ||
env: | ||
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: WeakAuras-SL | ||
path: .release/ | ||
|
||
- name: Send Status to Discord | ||
uses: nebularg/actions-discord-webhook@v1 | ||
with: | ||
webhook_url: ${{ secrets.WEBHOOK_URL }} | ||
status: ${{ job.status }} | ||
if: failure() | ||
# name: CI-Beta | ||
# | ||
# on: | ||
# push: | ||
# branches: | ||
# - shadowlands | ||
# tags: | ||
# - "**-alpha**" | ||
# | ||
# jobs: | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# with: | ||
# fetch-depth: 500 | ||
# | ||
# - name: Install and run Luacheck | ||
# uses: nebularg/actions-luacheck@v1 | ||
# with: | ||
# args: "--no-color -q" | ||
# annotate: warning | ||
# | ||
# - name: Generate Changelog | ||
# run: ./generate_changelog.sh | ||
# | ||
# - name: Update Build Date | ||
# run: sed -i "s/@build-time@/`date +%Y%m%d%H%M%S`/" WeakAuras/Init.lua | ||
# | ||
# - name: Create Package | ||
# uses: BigWigsMods/packager@master | ||
# env: | ||
# GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | ||
# | ||
# - uses: actions/upload-artifact@v2 | ||
# with: | ||
# name: WeakAuras-SL | ||
# path: .release/ | ||
# | ||
# - name: Send Status to Discord | ||
# uses: nebularg/actions-discord-webhook@v1 | ||
# with: | ||
# webhook_url: ${{ secrets.WEBHOOK_URL }} | ||
# status: ${{ job.status }} | ||
# if: failure() | ||
# |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,59 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: | ||
- "*" | ||
- "!**-alpha**" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 500 | ||
|
||
- name: Install and run Luacheck | ||
uses: nebularg/actions-luacheck@v1 | ||
with: | ||
args: "--no-color -q" | ||
annotate: warning | ||
|
||
- name: Update CurseForge Translations | ||
run: ./update_translations.sh | ||
env: | ||
CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
|
||
- name: Generate Changelog | ||
run: ./generate_changelog.sh | ||
|
||
- name: Update Build Date | ||
run: sed -i "s/@build-time@/`date +%Y%m%d%H%M%S`/" WeakAuras/Init.lua | ||
|
||
- name: Create Retail Package | ||
uses: BigWigsMods/packager@master | ||
env: | ||
CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | ||
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | ||
|
||
- name: Create Classic Package | ||
uses: BigWigsMods/packager@master | ||
with: | ||
args: -g classic -m .pkgmeta-classic | ||
env: | ||
CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
GITHUB_OAUTH: ${{ secrets.GITHUB_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() | ||
# name: CI | ||
# | ||
# on: | ||
# push: | ||
# branches: | ||
# - master | ||
# tags: | ||
# - "*" | ||
# - "!**-alpha**" | ||
# | ||
# jobs: | ||
# build: | ||
# runs-on: ubuntu-latest | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# with: | ||
# fetch-depth: 500 | ||
# | ||
# - name: Install and run Luacheck | ||
# uses: nebularg/actions-luacheck@v1 | ||
# with: | ||
# args: "--no-color -q" | ||
# annotate: warning | ||
# | ||
# - name: Update CurseForge Translations | ||
# run: ./update_translations.sh | ||
# env: | ||
# CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
# | ||
# - name: Generate Changelog | ||
# run: ./generate_changelog.sh | ||
# | ||
# - name: Update Build Date | ||
# run: sed -i "s/@build-time@/`date +%Y%m%d%H%M%S`/" WeakAuras/Init.lua | ||
# | ||
# - name: Create Retail Package | ||
# uses: BigWigsMods/packager@master | ||
# env: | ||
# CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
# GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} | ||
# WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} | ||
# | ||
# - name: Create Classic Package | ||
# uses: BigWigsMods/packager@master | ||
# with: | ||
# args: -g classic -m .pkgmeta-classic | ||
# env: | ||
# CF_API_KEY: ${{ secrets.CF_API_KEY }} | ||
# GITHUB_OAUTH: ${{ secrets.GITHUB_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() | ||
# |