chore: synced local './' with remote 'repo-template/'
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
name: Lint
|
||||
on: [push, pull_request_target]
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- '*.lua'
|
||||
- '.github/workflows/lint.yml'
|
||||
pull_request_target:
|
||||
paths:
|
||||
- '*.lua'
|
||||
- '.github/workflows/lint.yml'
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint Resource
|
||||
|
||||
@@ -34,10 +34,24 @@ jobs:
|
||||
app-id: ${{ secrets.APP_ID }}
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
- name: Create Release
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
- name: Update CHANGELOG
|
||||
id: changelog
|
||||
uses: requarks/changelog-action@v1
|
||||
with:
|
||||
title: ${{ github.ref_name }}
|
||||
repo_token: '${{ steps.generate_token.outputs.token }}'
|
||||
prerelease: false
|
||||
files: ${{ github.event.repository.name }}.zip
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
tag: ${{ github.ref_name }}
|
||||
includeInvalidCommits: true
|
||||
useGitmojis: false
|
||||
writeToFile: false
|
||||
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.14.0
|
||||
with:
|
||||
allowUpdates: true
|
||||
draft: false
|
||||
makeLatest: true
|
||||
name: ${{ github.ref_name }}
|
||||
tag: ${{ github.ref_name }}
|
||||
body: ${{ steps.changelog.outputs.changes }}
|
||||
artifacts: ${{ github.event.repository.name }}.zip
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
|
||||
@@ -39,8 +39,4 @@ jobs:
|
||||
add: fxmanifest.lua
|
||||
push: true
|
||||
message: 'chore: bump manifest version to ${{ inputs.version }}'
|
||||
|
||||
- name: Push Git Tag
|
||||
run: |
|
||||
git tag ${{ inputs.version }}
|
||||
git push origin ${{ inputs.version }}
|
||||
tag: ${{ inputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user