Skip to content

Commit

Permalink
- Update workflows. (Closes #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
StormFX committed Apr 25, 2022
1 parent abb4fe5 commit d687a82
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 92 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build-alpha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Calls a workflow that builds an alpha release.

name: Build Release (Alpha)

on:
push:
tags:
- '**-alpha**'
paths-ignore:
- '.github/**'

jobs:
package:
name: Package Release
uses: SFX-WoW/shared/.github/workflows/build-alpha.yml@main
20 changes: 20 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Calls a workflow that builds a release.

name: Build Release

on:
push:
tags:
- '*'
- '!**-alpha**'
paths-ignore:
- '.github/**'

jobs:
package:
name: Package Release
uses: SFX-WoW/shared/.github/workflows/build-release.yml@main
secrets:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
19 changes: 6 additions & 13 deletions .github/workflows/manual-lint.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,10 @@
# Calls a linting workflow when triggered.

name: Manual Lint

on: workflow_dispatch

jobs:
lint:
name: Process Files
runs-on: ubuntu-latest

steps:
- name: Clone Project
uses: actions/checkout@v1

- name: Install & Run LuaCheck
run: |
sudo apt-get install luarocks
luarocks install --local luacheck
/home/runner/.luarocks/bin/luacheck . -q
linter:
name: Linter
uses: SFX-WoW/shared/.github/workflows/lint.yml@main
39 changes: 0 additions & 39 deletions .github/workflows/pre-release.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/release.yml

This file was deleted.

0 comments on commit d687a82

Please sign in to comment.