Add initial setup for React and Vite application #4
@@ -65,8 +65,12 @@ jobs:
|
||||
|
||||
- name: Create archives
|
||||
run: |
|
||||
zip -r api.zip api/ -x "*.pyc" "*__pycache__*" "*.git*" "*.pytest_cache*"
|
||||
zip -r web.zip web/ -x "node_modules/*" ".git*" "dist/*" "*.log"
|
||||
echo "Creating api.zip..."
|
||||
zip -r api.zip api/ -x "*.pyc" "*__pycache__*" "*.git*" "*.pytest_cache*" || echo "Warning: zip command failed for api"
|
||||
echo "Creating web.zip..."
|
||||
zip -r web.zip web/ -x "node_modules/*" ".git*" "dist/*" "*.log" || echo "Warning: zip command failed for web"
|
||||
# Проверяем, что файлы созданы
|
||||
ls -la api.zip web.zip
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -76,6 +80,7 @@ jobs:
|
||||
api.zip
|
||||
web.zip
|
||||
retention-days: 7
|
||||
if-no-files-found: error # добавим, чтобы явно указывать, что файлы обязательны
|
||||
|
||||
# Явный статус для PR
|
||||
pr-status:
|
||||
|
||||
Reference in New Issue
Block a user