From b8632e673f1f17bd2b1460cb36c2ab63a8a6584d Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Thu, 31 Oct 2024 19:51:32 +0300 Subject: [PATCH] a --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fb43648..686bcaa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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