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

Табуляция

This commit is contained in:
Anton Titovets 2024-04-19 17:18:44 +03:00
parent 7c8f3f170e
commit c1a084d43c

View File

@ -90,46 +90,46 @@
|jobs:
|
| Decode:
| runs-on: ubuntu-latest
| if: ${{ always() }}
| steps:
| runs-on: ubuntu-latest
| if: ${{ always() }}
| steps:
|
| - uses: actions/checkout@v4
|
| - 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/cache/save@v3
| with:
| key: test-data
| path: ./data.json
| - uses: actions/checkout@v4
|
| - 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/cache/save@v3
| with:
| key: test-data
| path: ./data.json
|
| Build:
| runs-on: ubuntu-latest
| steps:
| - uses: actions/checkout@v4
| - uses: otymko/setup-onescript@v1.4
| with:
| version: 1.9.0
| runs-on: ubuntu-latest
| steps:
| - uses: actions/checkout@v4
| - uses: otymko/setup-onescript@v1.4
| with:
| version: 1.9.0
|
| - name: Установить asserts и 1testrunner
| run: |
| opm install asserts
| opm install 1testrunner
| - name: Установить asserts и 1testrunner
| run: |
| opm install asserts
| opm install 1testrunner
|
| - name: Установить OInt
| run: |
| cd ./OInt
| opm build
| opm install *.ospx
| - name: Установить OInt
| run: |
| cd ./OInt
| opm build
| opm install *.ospx
|
| - name: Записать артефакт
| uses: actions/upload-artifact@v4
| with:
| name: oint
| path: ./OInt/*.ospx
| - name: Записать артефакт
| uses: actions/upload-artifact@v4
| with:
| name: oint
| path: ./OInt/*.ospx
| ");
КонецПроцедуры
@ -154,26 +154,26 @@
|- name: Получить тестовые данные из кэша
| uses: actions/cache/restore@v3
| with:
| key: test-data_new
| path: ./data.json
| key: test-data_new
| path: ./data.json
|
|- name: Зашифровать данные обратно
| continue-on-error: false
|
| run: |
| rm -f ./data.json.gpg
| gpg --batch --symmetric --cipher-algo AES256 --passphrase=""$ENC_JSON"" data.json
| rm -f ./data.json
| rm -f ./data.json.gpg
| gpg --batch --symmetric --cipher-algo AES256 --passphrase=""$ENC_JSON"" data.json
| rm -f ./data.json
| env:
| ENC_JSON: ${{ secrets.ENC_JSON }}
| ENC_JSON: ${{ secrets.ENC_JSON }}
|
|- name: Записать данные
| 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: Обновление зашифрованных данных по результатам тестов (workflow)
| 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: Обновление зашифрованных данных по результатам тестов (workflow)
|
|
|Clear-Cache:
@ -183,29 +183,29 @@
|steps:
|- name: Очистка основного кэша
| run: |
| curl -L \
| -X DELETE \
| -H ""Accept: application/vnd.github+json"" \
| -H ""Authorization: Bearer ${{ secrets.TOKEN }}"" \
| -H ""X-GitHub-Api-Version: 2022-11-28"" \
| ""https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data""
| curl -L \
| -X DELETE \
| -H ""Accept: application/vnd.github+json"" \
| -H ""Authorization: Bearer ${{ secrets.TOKEN }}"" \
| -H ""X-GitHub-Api-Version: 2022-11-28"" \
| ""https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data""
|
|- name: Очистка кэша Google
| run: |
| curl -L \
| -X DELETE \
| -H ""Accept: application/vnd.github+json"" \
| -H ""Authorization: Bearer ${{ secrets.TOKEN }}"" \
| -H ""X-GitHub-Api-Version: 2022-11-28"" \
| ""https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data_google""
| curl -L \
| -X DELETE \
| -H ""Accept: application/vnd.github+json"" \
| -H ""Authorization: Bearer ${{ secrets.TOKEN }}"" \
| -H ""X-GitHub-Api-Version: 2022-11-28"" \
| ""https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data_google""
|
|- name: Очистка кэша Twitter
| run: |
| curl -L \
| -X DELETE \
| -H ""Accept: application/vnd.github+json"" \
| -H ""Authorization: Bearer ${{ secrets.TOKEN }}"" \
| -H ""X-GitHub-Api-Version: 2022-11-28"" \
| ""https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data_new""");
| curl -L \
| -X DELETE \
| -H ""Accept: application/vnd.github+json"" \
| -H ""Authorization: Bearer ${{ secrets.TOKEN }}"" \
| -H ""X-GitHub-Api-Version: 2022-11-28"" \
| ""https://api.github.com/repos/Bayselonarrend/OpenIntegrations/actions/caches?key=test-data_new""");
КонецПроцедуры;