Skip to content

Commit

Permalink
chore: synced local './' with remote 'repo-template/'
Browse files Browse the repository at this point in the history
  • Loading branch information
qbox-duck[bot] authored Sep 18, 2024
1 parent f45e5f0 commit cf975d0
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 11 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
24 changes: 19 additions & 5 deletions .github/workflows/release-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,24 @@ jobs:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}

- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ steps.generate_token.outputs.token }}
tag: ${{ github.ref_name }}
includeInvalidCommits: true
useGitmojis: false
writeToFile: false

- name: Create Release
uses: marvinpinto/action-automatic-releases@latest
uses: ncipollo/release-action@v1.14.0
with:
title: ${{ github.ref_name }}
repo_token: '${{ steps.generate_token.outputs.token }}'
prerelease: false
files: ${{ github.event.repository.name }}.zip
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 }}
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit cf975d0

Please sign in to comment.