Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
- use actions/checkout@v4
- run on the main branch
- release tags only
  • Loading branch information
Rainrider committed Aug 30, 2024
1 parent 6fb0053 commit 4f87e33
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ name: CI

on:
push:
branches:
- 'main'
paths:
- '**.yml'
- '**.lua'
tags:
- '[0-9]+.[0-9]+.[0-9]+'
Expand All @@ -14,7 +17,9 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
show-progress: false

- name: Lint
uses: nebularg/actions-luacheck@v1
Expand All @@ -24,11 +29,14 @@ jobs:

release:
runs-on: ubuntu-latest
if: github.ref_type == 'tag'
needs: lint

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
show-progress: false

- name: Package and Release
uses: BigWigsMods/packager@v2
Expand Down

0 comments on commit 4f87e33

Please sign in to comment.