Comment out the full-build.zip creation step in CI workflow and update artifact upload to include api and web directories directly.
All checks were successful
CI/CD / test-backend (pull_request) Successful in 6s
CI/CD / test-frontend (pull_request) Successful in 9s
CI/CD / create-archives (pull_request) Successful in 3s
CI/CD Pipeline / Overall Status ✅ All checks passed successfully
CI/CD / pr-status (pull_request) Successful in 1s
CI/CD / comment-on-failure (pull_request) Has been skipped
CI/CD / cleanup (pull_request) Successful in 1s

This commit is contained in:
2026-03-24 12:35:16 +03:00
parent 71fdd9dcca
commit 38faec32f1

View File

@@ -63,24 +63,25 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Create archives # - name: Create archives
run: | # run: |
echo "Creating full-build.zip with api and web..." # echo "Creating full-build.zip with api and web..."
# Создаём единый архив, включающий папки api и web, с исключениями # # Создаём единый архив, включающий папки api и web, с исключениями
zip -r full-build.zip api/ web/ \ # zip -r full-build.zip api/ web/ \
-x "api/*.pyc" "api/*__pycache__*" "api/.git*" "api/.pytest_cache*" \ # -x "api/*.pyc" "api/*__pycache__*" "api/.git*" "api/.pytest_cache*" \
-x "web/node_modules/*" "web/.git*" "web/dist/*" "web/*.log" \ # -x "web/node_modules/*" "web/.git*" "web/dist/*" "web/*.log" \
|| echo "Warning: zip command had issues" # || echo "Warning: zip command had issues"
# Проверяем, что файл создан # # Проверяем, что файл создан
ls -la full-build.zip # ls -la full-build.zip
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: build-artifacts-${{ github.run_id }} name: build-artifacts-${{ github.run_id }}
path: full-build.zip path: |
api/
web/
retention-days: 7 retention-days: 7
if-no-files-found: error
# Явный статус для PR # Явный статус для PR
pr-status: pr-status: