-
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.
v1.1.0 - Added Discord notifications for kicks, more toggles, automat…
…ic build scripting, etc etc.
- Loading branch information
Showing
12 changed files
with
1,285 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Demo Check Autobuild | ||
# shamelessly stolen from https://github.com/sapphonie/StAC-tf2/blob/master/.github/workflows/blank.yml - thanks sapph! | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
run: | ||
name: Run action | ||
runs-on: ubuntu-latest | ||
|
||
# skip build on '[ci skip]' | ||
if: "!contains(github.event.head_commit.message, '[ci skip]')" | ||
# this angers the ~linter~ | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
|
||
- name: Setup SourcePawn Compiler | ||
uses: rumblefrog/setup-sp@master | ||
with: | ||
version: '1.12.x' | ||
|
||
- name: Compile Plugins | ||
run: | | ||
cd ./scripting | ||
pwd | ||
spcomp -i"./include/" demo_check.sp -o ../plugins/demo_check.smx | ||
ls -la | ||
- name: Zip packages | ||
run: | | ||
mkdir build | ||
7za a -r build/demo_check.zip scripting/ plugins/ extensions/ translations/ | ||
ls -la | ||
pwd | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
./build/demo_check.zip | ||
fail_on_unmatched_files: true | ||
generate_release_notes: true |
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,3 +1,2 @@ | ||
plugins | ||
# ignore my ide | ||
.vscode | ||
demo_check.zip |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.