Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
Disable build workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Maczuga committed Nov 14, 2020
1 parent f034adf commit 2964b4a
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 104 deletions.
93 changes: 47 additions & 46 deletions .github/workflows/build-beta.yml
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()
#
117 changes: 59 additions & 58 deletions .github/workflows/build.yml
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()
#

0 comments on commit 2964b4a

Please sign in to comment.