Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Oct 31, 2024
1 parent 61c73cd commit b8632e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set $SHORT_SHA
run: echo "SHORT_SHA=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_ENV

- name: Setup AMXXPawn Compiler
uses: wopox1337/setup-amxxpawn@v1

Expand All @@ -34,11 +37,11 @@ jobs:
}
export -f compile
# Найти и скомпилировать все .sma файлы в папке scripting
find . -type f -name "*.sma" -exec bash -c 'compile "$0"' {} \;
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Server-Side_SmokeNade
name: Server-Side_SmokeNade-$SHORT_SHA
path: cstrike
compression-level: 9

0 comments on commit b8632e6

Please sign in to comment.