Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AthallahDzaki committed Aug 22, 2024
2 parents 742e016 + ad83591 commit 3e8feb2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: CMake

on: [push, pull_request]
on:
push:
tags:
- "**"

jobs:
build:
Expand All @@ -27,33 +30,28 @@ jobs:
mkdir bin
cd bin
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=Release ../
mkdir output_III
mkdir output_VC
mkdir output_SA
- name: Compile
run: |
cd bin
ninja
cp TrilogyChaosMod.III.asi output_III/TrilogyChaosMod.III.asi
cp TrilogyChaosMod.VC.asi output_VC/TrilogyChaosMod.VC.asi
cp TrilogyChaosMod.SA.asi output_SA/TrilogyChaosMod.SA.asi
- name: Upload III
uses: actions/upload-artifact@v1
with:
name: "TrilogyChaosMod.III"
path: bin/output_III

- name: Upload VC
uses: actions/upload-artifact@v1
with:
name: "TrilogyChaosMod.VC"
path: bin/output_VC

- name: Upload SA
uses: actions/upload-artifact@v1
with:
name: "TrilogyChaosMod.SA"
path: bin/output_SA


- name: Zip
uses: vimtor/[email protected]
with:
files: bin/output_SA resources/
dest: SA-CHAOS.zip

- name: Upload Release
uses: ncipollo/[email protected]
with:
artifacts: "SA-CHAOS.zip"
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions src/gtasa/effects/custom/ped/RemoveAngryHoboEffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ class RemoveAngryHobo : public OneTimeEffect
};

DEFINE_EFFECT (RemoveAngryHobo, "effect_remove_random_angry_hobo", 0, 0);
DEFINE_EFFECt (RemoveAngryHobo, "effect_remove_nearest_angry_hobo", 0, 1);
DEFINE_EFFECT (RemoveAngryHobo, "effect_remove_nearest_angry_hobo", 0, 1);
DEFINE_EFFECT (RemoveAngryHobo, "effect_remove_farthest_angry_hobo", 0, 2);
DEFINE_EFFECT (RemoveAngryHobo, "effect_remove_all_angry_hobo", 0, 3);
DEFINE_EFFECT (RemoveAngryHobo, "effect_remove_all_angry_hobo", 0, 3);

0 comments on commit 3e8feb2

Please sign in to comment.