mirror of
https://github.com/voided/CollisionHook.git
synced 2025-12-07 10:48:22 +00:00
Only upload artifacts on pushes.
This commit is contained in:
parent
57975a3b84
commit
e3643ff6de
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -107,7 +107,7 @@ jobs:
|
||||
if [ "${sdk}" == "tf2" ]; then
|
||||
shallow_checkout "https://github.com/Kenzzer/hl2sdk" "tf2_win64" "hl2sdk-tf2"
|
||||
else
|
||||
shallow_checkout "https://github.com/alliedmodders/hl2sdk" "${sdk}" "hl2sdk-${sdk}"
|
||||
shallow_checkout "https://github.com/alliedmodders/hl2sdk" "${sdk}" "hl2sdk-${sdk}"
|
||||
fi
|
||||
done
|
||||
|
||||
@ -158,5 +158,8 @@ jobs:
|
||||
run: zip -r "${{ env.ZIP_FILENAME }}" .
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
name: Upload artifacts
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/action'
|
||||
working-directory: extension/build/package
|
||||
with:
|
||||
path: "${{ env.ZIP_FILENAME }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user