forked from gta-chaos-mod/Trilogy-ASI-Script
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/AthallahDzaki/Trilogy-ASI-S…
- Loading branch information
Showing
2 changed files
with
18 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters