chore: Marked unused variables #23
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: Liting and Artifact generation | |
on: 'push' | |
jobs: | |
Lint-Project: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Update Image" | |
if: ${{ env.ACT }} | |
run: | | |
sudo apt update | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 50 | |
- name: Lint lua files | |
uses: nebularg/actions-luacheck@v1.1.2 | |
with: | |
args: "--no-color -q --no-self" | |
annotate: warning | |
- name: Create alpha package | |
uses: BigWigsMods/packager@master | |
with: | |
args: -d -z | |
- name: Upload alpha package to artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: SwitchSwitch.zip | |
path: | | |
.release/* | |
- name: Remove old artifacts | |
uses: c-hive/gha-remove-artifacts@v1 | |
with: | |
age: '3 month' | |
skip-tags: true |