2024-08-07 14:56:41 +03:00
|
|
|
name: 1. MAIN | Основной процесс OPI -> OInt -> CLI
|
2024-03-16 23:51:31 +03:00
|
|
|
|
|
|
|
# Controls when the workflow will run
|
2024-06-09 14:23:13 +03:00
|
|
|
on:
|
2024-06-09 14:59:47 +03:00
|
|
|
[workflow_dispatch]
|
2024-06-09 14:23:13 +03:00
|
|
|
|
2024-03-16 23:51:31 +03:00
|
|
|
jobs:
|
|
|
|
|
|
|
|
Convert:
|
|
|
|
runs-on: ubuntu-latest
|
2024-04-19 16:58:56 +03:00
|
|
|
permissions:
|
|
|
|
actions: write
|
|
|
|
contents: write
|
2024-03-16 23:51:31 +03:00
|
|
|
|
|
|
|
steps:
|
|
|
|
|
2024-04-19 16:58:56 +03:00
|
|
|
- uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
token: ${{secrets.TOKEN}}
|
|
|
|
|
2024-03-16 23:51:31 +03:00
|
|
|
- uses: otymko/setup-onescript@v1.4
|
|
|
|
with:
|
|
|
|
version: 1.9.0
|
|
|
|
|
2024-06-01 16:08:44 +03:00
|
|
|
- name: Установить зависимости
|
|
|
|
run: |
|
|
|
|
opm install cmdline
|
|
|
|
opm install asserts
|
|
|
|
opm install osparser
|
|
|
|
opm install coloratos
|
|
|
|
|
2024-08-13 19:19:57 +03:00
|
|
|
- name: Расшифровать тестовые данные
|
|
|
|
run: gpg --quiet --batch --yes --decrypt --passphrase="$ENC_JSON" --output ./data.json ./data.json.gpg
|
|
|
|
env:
|
|
|
|
ENC_JSON: ${{ secrets.ENC_JSON }}
|
|
|
|
|
2024-08-07 13:44:52 +03:00
|
|
|
- name: Основной процесс преобразований
|
|
|
|
run: oscript ./.github/workflows/os/main.os
|
2024-06-01 16:06:39 +03:00
|
|
|
|
2024-08-07 15:10:37 +03:00
|
|
|
- name: Обновить Workflow тестирования CLI
|
|
|
|
run: oscript ./.github/workflows/os/cli_testmaker.os
|
|
|
|
|
|
|
|
- name: Обновить Workflow тестирования CLI (EN)
|
|
|
|
run: oscript ./.github/workflows/os/cli_testmaker_en.os
|
|
|
|
|
2024-03-16 23:51:31 +03:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
|
|
with:
|
|
|
|
commit_user_name: Vitaly the Alpaca (bot)
|
|
|
|
commit_user_email: vitaly.the.alpaca@gmail.com
|
|
|
|
commit_author: Vitaly the Alpaca <vitaly.the.alpaca@gmail.com>
|
|
|
|
commit_message: Преобразование OPI -> OInt (workflow)
|
2024-04-19 16:58:56 +03:00
|
|
|
|
|
|
|
|