chore: synced local './' with remote 'repo-template/'
This commit is contained in:
@@ -8,9 +8,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4
|
||||
- name: Discord Webhook
|
||||
uses: ChatDisabled/discord-commits@main
|
||||
with:
|
||||
id: ${{ secrets.WEBHOOK_ID }}
|
||||
token: ${{ secrets.WEBHOOK_TOKEN }}
|
||||
token: ${{ secrets.WEBHOOK_TOKEN }}
|
||||
|
||||
@@ -10,12 +10,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4
|
||||
- name: Github Releases To Discord
|
||||
uses: SethCohen/github-releases-to-discord@v1.13.1
|
||||
uses: SethCohen/github-releases-to-discord@v1
|
||||
with:
|
||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
||||
color: "15852866"
|
||||
username: ${{ github.event.repository.name }}
|
||||
avatar_url: "https://i.imgur.com/Eh1yiLI.png"
|
||||
footer_timestamp: true
|
||||
footer_timestamp: true
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get App Token
|
||||
uses: actions/create-github-app-token@v1.6.1
|
||||
uses: actions/create-github-app-token@v1
|
||||
id: generate_token
|
||||
with:
|
||||
app-id: ${{ secrets.APP_ID }}
|
||||
|
||||
@@ -5,7 +5,7 @@ jobs:
|
||||
name: Lint Resource
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Lint
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
extra_libs: ox_lib+mysql+qblocales+qbox+qbox_playerdata+qbox_lib
|
||||
- name: Generate Lint Report
|
||||
if: always()
|
||||
uses: mikepenz/action-junit-report@v3
|
||||
uses: mikepenz/action-junit-report@v4
|
||||
with:
|
||||
report_paths: "**/junit.xml"
|
||||
check_name: Linting Report
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.repository.default_branch }}
|
||||
@@ -28,16 +28,16 @@ jobs:
|
||||
zip -r ./${{ github.event.repository.name }}.zip ./${{ github.event.repository.name }}
|
||||
|
||||
- name: Get App Token
|
||||
uses: actions/create-github-app-token@v1.6.1
|
||||
uses: actions/create-github-app-token@v1
|
||||
id: generate_token
|
||||
with:
|
||||
app-id: ${{ secrets.APP_ID }}
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
- name: Create Release
|
||||
uses: 'marvinpinto/action-automatic-releases@latest'
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
title: ${{ github.ref_name }}
|
||||
repo_token: '${{ steps.generate_token.outputs.token }}'
|
||||
prerelease: false
|
||||
files: ${{ github.event.repository.name }}.zip
|
||||
files: ${{ github.event.repository.name }}.zip
|
||||
|
||||
@@ -12,21 +12,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Get App Token
|
||||
uses: actions/create-github-app-token@v1.6.1
|
||||
uses: actions/create-github-app-token@v1
|
||||
id: generate_token
|
||||
with:
|
||||
app-id: ${{ secrets.APP_ID }}
|
||||
private-key: ${{ secrets.PRIVATE_KEY }}
|
||||
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4.1.1
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ steps.generate_token.outputs.token }}
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v2
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 16.x
|
||||
node-version: 20.x
|
||||
|
||||
- name: Bump manifest version
|
||||
run: node .github/actions/bump-manifest-version.js
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
TGT_RELEASE_VERSION: ${{ inputs.version }}
|
||||
|
||||
- name: Push manifest change
|
||||
uses: EndBug/add-and-commit@latest
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
add: fxmanifest.lua
|
||||
push: true
|
||||
@@ -43,4 +43,4 @@ jobs:
|
||||
- name: Push Git Tag
|
||||
run: |
|
||||
git tag ${{ inputs.version }}
|
||||
git push origin ${{ inputs.version }}
|
||||
git push origin ${{ inputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user