From 54773ce40fa6392d15a55f35e193a8325d893ceb Mon Sep 17 00:00:00 2001 From: Solareon <769465+solareon@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:47:44 -0700 Subject: [PATCH 1/2] chore(readme): learn to spell --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fde35b..acf001c 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ A group app for [lb-phone](https://lbphone.com/) the utilizes `qb-phone` compati **QB/QBOX supported with bridge** ## Installation -Download the [release version](https://github.com/solareon/slrn_groups/release) and copy to your server. +Download the [release version](https://github.com/solareon/slrn_groups/releases) and copy to your server. # Support - [Discord](https://discord.gg/TZFBBHvG6E) @@ -88,4 +88,4 @@ This program is free software: you can redistribute it and/or modify it under th This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. -You should have received a copy of the GNU General Public License along with this program. If not, see . \ No newline at end of file +You should have received a copy of the GNU General Public License along with this program. If not, see . From edf7c29b73593247f21bdd71d837ac873ff67fe1 Mon Sep 17 00:00:00 2001 From: solareon <769465+solareon@users.noreply.github.com> Date: Sun, 30 Jun 2024 20:30:23 +0200 Subject: [PATCH 2/2] chore(github): add debugbuild.yml --- .github/workflows/debugbuild.yml | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 .github/workflows/debugbuild.yml diff --git a/.github/workflows/debugbuild.yml b/.github/workflows/debugbuild.yml new file mode 100644 index 0000000..eef3ac7 --- /dev/null +++ b/.github/workflows/debugbuild.yml @@ -0,0 +1,61 @@ +name: "Debug Build Action" + +on: + workflow_dispatch: + inputs: + branch: + description: 'Branch to run the workflow on' + required: true + default: 'main' + +jobs: + debug-build: + name: "Create Debug Build" + runs-on: "ubuntu-latest" + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ github.event.inputs.branch }} + + - name: Install ZIP + run: sudo apt install zip + + - name: Install pnpm + uses: pnpm/action-setup@v4.0.0 + with: + version: 9 + + - name: Setup node + uses: actions/setup-node@v4 + with: + node-version: 20.x + cache: "pnpm" + cache-dependency-path: "ui/pnpm-lock.yaml" + + - name: Install dependencies + run: pnpm i --frozen-lockfile + working-directory: ui + + - name: Run build + run: pnpm build + working-directory: ui + env: + CI: false + + - name: Bundle files + run: | + shopt -s extglob + mkdir -p ./temp/${{ github.event.repository.name }} + mkdir -p ./temp/${{ github.event.repository.name }}/ui + cp ./{README.md,LICENSE,fxmanifest.lua} ./temp/${{ github.event.repository.name }} + cp -r ./{client,bridge,server} ./temp/${{ github.event.repository.name }} + cp -r ./ui/public ./temp/${{ github.event.repository.name }}/ui/public + cd ./temp && zip -r ../${{ github.event.repository.name }}.zip ./${{ github.event.repository.name }} + + - name: Upload Build Artifact + uses: actions/upload-artifact@v4 + with: + name: debug-build + path: ${{ github.event.repository.name }}.zip