test #7

Merged
RaiLinKey merged 3 commits from test into main 2026-03-24 14:05:59 +03:00
2 changed files with 35 additions and 15 deletions
Showing only changes of commit b3eaf03627 - Show all commits

View File

@@ -0,0 +1,20 @@
name: Ручная архивация
on:
workflow_dispatch: # только ручной запуск
jobs:
create-archives:
runs-on: ubuntu-latest
steps:
- name: Проверка кода
uses: actions/checkout@v4
- name: Загрузка артифакта
uses: actions/upload-artifact@v3
with:
name: build-artifacts-${{ github.run_id }}
path: |
api/
web/
retention-days: 7

View File

@@ -54,22 +54,22 @@ jobs:
cd web cd web
npm run build npm run build
create-archives: # create-archives:
needs: [test-backend, test-frontend] # needs: [test-backend, test-frontend]
runs-on: ubuntu-latest # runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch' && always() # if: github.event_name == 'workflow_dispatch' && always()
steps: # steps:
- name: Проверка кода # - name: Проверка кода
uses: actions/checkout@v4 # uses: actions/checkout@v4
- name: Загрузка артифакта # - name: Загрузка артифакта
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: | # path: |
api/ # api/
web/ # web/
retention-days: 7 # retention-days: 7
# Явный статус для PR # Явный статус для PR
pr-status: pr-status: