
This commit introduces several changes related to database interactions and client-side functionality: * **Database Response Handling:** Implements a mechanism to handle responses from server requests, specifically for database operations. This includes setting up a callback system to process results based on request IDs. * **Store Functionality:** Corrects a typo in the `fnc_buyItem.sqf` script, changing `EFUNC(armory,addArmoryItem)` to `EFUNC(arsenal,addArmoryItem)`. * **Inventory Management:** Improves the `fnc_moveInventory.sqf` script by correcting a conditional statement to ensure proper handling of inventory items. * **Configuration Updates:** Updates the mod configuration (`CfgMods.hpp`) to use the correct path for the mod picture. * **Client Initialization:** Adds a client registration call to the server during client post-initialization (`XEH_postInit_client.sqf`). * **Workflow Update:** Updates the build workflow to use the latest Ubuntu runner. * **Database Preparation:** Removes unnecessary preparations from `XEH_postInit.sqf` and `XEH_PREP.hpp`.
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
paths-ignore:
|
|
- ".github/**"
|
|
- "addons/main/script_version.hpp"
|
|
- "docs/**"
|
|
- "tools/**"
|
|
- "LICENSE"
|
|
- "README.md"
|
|
- "*.json"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Source Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Bump Version
|
|
id: bump-version
|
|
run: python3 tools/version_bumper.py increment_build push_commit
|
|
|
|
- name: Setup HEMTT
|
|
uses: arma-actions/hemtt@v1
|
|
|
|
- name: Run HEMTT build
|
|
run: hemtt release
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: 'stable'
|
|
|
|
- name: Initialize or Update Go module
|
|
run: |
|
|
if [ ! -f go.mod ]; then
|
|
go mod init gitea.innovativedevsolutions.org/IDSolutions/client
|
|
fi
|
|
go get code.gitea.io/sdk/gitea
|
|
|
|
- name: Run Release Action
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
VERSION: ${{ steps.bump-version.outputs.VERSION }}
|
|
run: go run main.go |