@@ -26,11 +26,13 @@ jobs:
2626 run : echo "GITHUB_SHA_SHORT=${GITHUB_SHA::7}" >> $GITHUB_ENV
2727 # checkout current repo...
2828 - uses : actions/checkout@v4
29+ with :
30+ path : srcwrtimer_sample_extension
2931 # checkout srcwrtimer since we use it for shit...
3032 - uses : actions/checkout@v4
3133 with :
3234 repository : srcwr/srcwrtimer
33- path : ' ../ srcwrtimer'
35+ path : srcwrtimer
3436 - name : Install cargo-binstall
3537 uses :
cargo-bins/[email protected] 3638 - name : Install the cargo bins we use...
@@ -40,11 +42,13 @@ jobs:
4042 cargo binstall -y cargo-zigbuild
4143 # This is `cargo make full` but turned into steps so you can have better progress visibility
4244 - name : Install Rust toolchains
45+ working-directory : ./srcwrtimer_sample_extension
4346 run : |
4447 cargo make rustup-linux
4548 cargo make rustup-msvc
4649 - name : Clone alliedmodders repositories
4750 run : cargo make clone-alliedmodders
51+ working-directory : ./srcwrtimer_sample_extension
4852 - name : Setup SourcePawn Compiler
4953 uses :
rumblefrog/[email protected] 5054 with :
@@ -54,17 +58,22 @@ jobs:
5458 with :
5559 version : ' 0.13.0' # ## UPDATE Makefile.toml whenever this is updated.
5660 - name : Build extensions for Linux
61+ working-directory : ./srcwrtimer_sample_extension
5762 run : cargo make linux
5863 - name : Build extensions for Windows/MSVC
64+ working-directory : ./srcwrtimer_sample_extension
5965 run : cargo make msvc
6066 - name : Copy things to _package
67+ working-directory : ./srcwrtimer_sample_extension
6168 run : |
6269 cargo make copy-srcwrtimer
6370 cargo make copy-extensions
6471 - name : Build plugins
72+ working-directory : ./srcwrtimer_sample_extension
6573 run : cargo make compile-srcwrtimer-scripts
6674 - name : Upload package
75+ working-directory : ./srcwrtimer_sample_extension
6776 uses : actions/upload-artifact@v4
6877 with :
69- name : srcwrtimer -${{ github.head_ref || github.ref_name }}-${{ env.GITHUB_SHA_SHORT }}
78+ name : sample -${{ github.head_ref || github.ref_name }}-${{ env.GITHUB_SHA_SHORT }}
7079 path : _package/srcwrtimer
0 commit comments