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