fix(qb-core): post-update recovery + centralizare notify 17mov_Hud
Restaurat jobs.lua din git (Quasar fork a suprascris joburile 17mov). Adăugat item map în items.lua (lipsea, rupt rv-maphold). Setat licences.driver = false în config.lua. Override QBCore.Functions.Notify + QBCore:Notify event → 17mov_Hud:ShowNotification (toate notificările merg automat prin 17mov_Hud).
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
name: Pre-Release
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
tag:
|
||||
description: 'Version tag'
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
create-release:
|
||||
name: Build and Create Tagged Pre release
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Install archive tools
|
||||
run: sudo apt install zip
|
||||
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
|
||||
- name: Run build
|
||||
run: pnpm build
|
||||
|
||||
- name: Bundle files
|
||||
run: |
|
||||
mkdir -p ./temp/oxmysql
|
||||
mkdir -p ./temp/oxmysql/web/
|
||||
mkdir -p ./temp/oxmysql/lib/
|
||||
cp ./{LICENSE,README.md,fxmanifest.lua,ui.lua} ./temp/oxmysql
|
||||
cp ./lib/MySQL.lua ./temp/oxmysql/lib
|
||||
cp -r ./dist ./temp/oxmysql
|
||||
cp -r ./web/build ./temp/oxmysql/web/
|
||||
cd ./temp && zip -r ../oxmysql.zip ./oxmysql
|
||||
|
||||
- name: Create Release
|
||||
uses: 'marvinpinto/action-automatic-releases@v1.2.1'
|
||||
id: auto_release
|
||||
with:
|
||||
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
title: 'Experimental - ${{ github.event.inputs.tag }} (FOR TESTING PURPOSE)'
|
||||
prerelease: true
|
||||
automatic_release_tag: '${{ github.event.inputs.tag }}'
|
||||
files: oxmysql-${{ github.event.inputs.tag }}.zip
|
||||
|
||||
env:
|
||||
CI: false
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user