1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-25 02:42:28 +02:00

Create cli_test.yml

This commit is contained in:
Anton Titovets 2024-03-20 16:36:22 +03:00 committed by GitHub
parent 7204976470
commit cb689e4b60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

41
.github/workflows/cli_test.yml vendored Normal file
View File

@ -0,0 +1,41 @@
name: Тестирование OINT CLI
on:
workflow_dispatch:
jobs:
Decode:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Расшифровать тестовые данные
run: gpg --quiet --batch --yes --decrypt --passphrase="$ENC_JSON" --output ./data.json ./data.json.gpg
env:
ENC_JSON: ${{ secrets.ENC_JSON }}
- name: Записать артефакт
uses: actions/upload-artifact@v4
with:
name: test_data
path: data.json
Testing-Telegram:
runs-on: ubuntu-latest
needs: Decode
steps:
- name: Скачать артефакт с тестовой информацией
uses: actions/download-artifact@v4
with:
name: test_data
- name: JSON to variables
uses: rgarcia-phi/json-to-variables@v1.1.0
with:
filename: 'data.json'
masked: true
- name: Show output
run: echo "${{ env.Телеграм_Форум }}"