-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (33 loc) · 911 Bytes
/
lualint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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