-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
62 additions
and
29 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,14 +1,27 @@ | ||
name: SourcePawn CI | ||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
types: [opened, reopened, synchronize] | ||
on: [push] | ||
|
||
jobs: | ||
ci: | ||
name: SourcePawn CI | ||
uses: KatsuteTF/Workflows/.github/workflows/ci.yml@main | ||
with: | ||
file: TF100.sp | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install SourceMod | ||
uses: KatsuteTF/Workflows/actions/setup-sourcepawn@main | ||
|
||
- name: mkdir include | ||
shell: bash | ||
run: mkdir -p addons/sourcemod/include | ||
|
||
- name: Install SourceScramble | ||
uses: KatsuteTF/Workflows/actions/curl@main | ||
with: | ||
url: https://raw.githubusercontent.com/nosoop/SMExt-SourceScramble/master/scripting/include/sourcescramble.inc | ||
file: addons/sourcemod/include/sourcescramble.inc | ||
|
||
- name: Compile Plugin | ||
run: | | ||
spcomp -i addons/sourcemod/include TF100.sp |
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 |
---|---|---|
|
@@ -6,8 +6,30 @@ on: | |
jobs: | ||
release: | ||
name: Release Plugin | ||
uses: KatsuteTF/Workflows/.github/workflows/release.yml@main | ||
with: | ||
file: TF100.sp | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install SourceMod | ||
uses: KatsuteTF/Workflows/actions/setup-sourcepawn@main | ||
|
||
- name: mkdir include | ||
shell: bash | ||
run: mkdir -p addons/sourcemod/include | ||
|
||
- name: Install SourceScramble | ||
uses: KatsuteTF/Workflows/actions/curl@main | ||
with: | ||
url: https://raw.githubusercontent.com/nosoop/SMExt-SourceScramble/master/scripting/include/sourcescramble.inc | ||
file: addons/sourcemod/include/sourcescramble.inc | ||
|
||
- name: Compile Plugin | ||
run: | | ||
spcomp -i addons/sourcemod/include TF100.sp | ||
- name: Deploy to GitHub Releases | ||
uses: AButler/[email protected] | ||
with: | ||
files: "TF100.smx;TF100.txt;whitelist.txt" | ||
repo-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
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
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