- Introduced a new workflow for manual archiving, allowing users to trigger the creation of archives for the api and web directories. - The workflow includes steps for code checkout and artifact upload with a retention policy of 7 days.
20 lines
482 B
YAML
20 lines
482 B
YAML
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 |