Updated build, removed unused var #10
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
name: Build | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install and run luacheck | |
run: | | |
sudo apt-get install luarocks | |
luarocks install --local luacheck | |
/home/runner/.luarocks/bin/luacheck . -q | |
- name: Create changelog | |
# Grabs everything under the top level # header and outputs to a new file | |
run: sed -n "3,/^# / {/^# /d; p}" changelog.md > changes.md | |
- name: Build Retail Addon | |
run: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
GITHUB_OAUTH: ${{ secrets.GHUB_OAUTH }} | |
# - name: Build Classic Addon | |
# run: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -g 1.13.4 | |
# env: | |
# CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
# GITHUB_OAUTH: ${{ secrets.GHUB_OAUTH }} |