You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-13 20:05:19 +02:00
Update blank.yml
This commit is contained in:
33
.github/workflows/blank.yml
vendored
33
.github/workflows/blank.yml
vendored
@@ -8,7 +8,18 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
Decrypt:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Расшифровать тестовые данные
|
||||||
|
run: ./decrypt_secret.sh
|
||||||
|
env:
|
||||||
|
ENC_JSON: ${{ secrets.ENC_JSON }}
|
||||||
|
|
||||||
|
Convert:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
@@ -21,8 +32,24 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 1.3.0 # Требуемая версия OneScript
|
version: 1.3.0 # Требуемая версия OneScript
|
||||||
|
|
||||||
- name: Выполнить скрипт
|
- name: Выполнить скрипт преобразования OPI -> OInt
|
||||||
run: oscript ./.github/workflows/convert.os
|
run: oscript ./.github/workflows/convert.os
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
- name: Установить asserts
|
||||||
|
run: opm install asserts
|
||||||
|
|
||||||
|
- name: Выполнить тесты
|
||||||
|
run: 1testrunner -run ./OInt/tools/Modules/OPI_ПолучениеДанныхТестов.os
|
||||||
|
|
||||||
|
- name: Зашифровать данные обратно
|
||||||
|
run: |
|
||||||
|
rm -f ./data.json.gpg
|
||||||
|
gpg --symmetric --cipher-algo AES256 --passphrase="$ENC_JSON" data.json
|
||||||
|
env:
|
||||||
|
ENC_JSON: ${{ secrets.ENC_JSON }}
|
||||||
|
|
||||||
|
- name: Check
|
||||||
|
run: tree
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user