mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-24 08:52:18 +02:00
Create cli_test.yml
This commit is contained in:
parent
7204976470
commit
cb689e4b60
41
.github/workflows/cli_test.yml
vendored
Normal file
41
.github/workflows/cli_test.yml
vendored
Normal 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.Телеграм_Форум }}"
|
Loading…
Reference in New Issue
Block a user