mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 06:28:54 +00:00
fix: Update the proper pre-release workflow
This commit is contained in:
1 parent
e297167ae3
commit
4e099e8e0f
1 file changed
+12
-6
@@ -22,27 +22,33 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
ref: ${{ github.ref }}
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install root dependencies
|
||||||
run: yarn
|
run: yarn
|
||||||
|
|
||||||
|
- name: Install ui dependencies
|
||||||
|
run: yarn
|
||||||
|
working-directory: ui
|
||||||
|
|
||||||
- name: Run build
|
- name: Run build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Bundle files
|
- name: Bundle files
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ./temp/oxmysql
|
mkdir -p ./temp/oxmysql
|
||||||
cp ./{LICENSE,README.md,fxmanifest.lua} ./temp/oxmysql
|
mkdir -p ./temp/oxmysql/ui/
|
||||||
|
cp ./{LICENSE,README.md,fxmanifest.lua,ui.lua} ./temp/oxmysql
|
||||||
cp -r ./{lib,dist} ./temp/oxmysql
|
cp -r ./{lib,dist} ./temp/oxmysql
|
||||||
|
cp -r ./ui/build ./temp/oxmysql/ui/
|
||||||
cd ./temp && zip -r ../oxmysql-${{ github.event.inputs.tag }}.zip ./oxmysql
|
cd ./temp && zip -r ../oxmysql-${{ github.event.inputs.tag }}.zip ./oxmysql
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: "marvinpinto/[email protected]"
|
uses: 'marvinpinto/[email protected]'
|
||||||
id: auto_release
|
id: auto_release
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
title: "Experimental - ${{ github.event.inputs.tag }} (FOR TESTING PURPOSE)"
|
title: 'Experimental - ${{ github.event.inputs.tag }} (FOR TESTING PURPOSE)'
|
||||||
prerelease: true
|
prerelease: true
|
||||||
automatic_release_tag: "${{ github.event.inputs.tag }}"
|
automatic_release_tag: '${{ github.event.inputs.tag }}'
|
||||||
files: oxmysql-${{ github.event.inputs.tag }}.zip
|
files: oxmysql-${{ github.event.inputs.tag }}.zip
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user