1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-24 05:36:29 +02:00

54 lines
1.6 KiB
YAML
Raw Normal View History

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
permissions:
actions: write
contents: write
2024-03-16 23:51:31 +03:00
steps:
- 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
- name: Расшифровать тестовые данные
run: gpg --quiet --batch --yes --decrypt --passphrase="$ENC_JSON" --output ./data.json ./data.json.gpg
env:
ENC_JSON: ${{ secrets.ENC_JSON }}
- name: Основной процесс преобразований
run: oscript ./.github/workflows/os/main.os
- 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)