Skip to content

Commit

Permalink
ci: up edt export timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
alkoleft committed Dec 18, 2024
1 parent ec328f5 commit e5f0031
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/step-export-xml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ on:
edt_version:
type: string
required: true

artifact_name:
type: string
required: true

engine_only:
type: boolean
required: false
default: false
outputs:
yaxunit_version:
value: ${{ jobs.export.outputs.yaxunit_version }}

smoke_version:
value: ${{ jobs.export.outputs.smoke_version }}

Expand All @@ -32,15 +32,15 @@ jobs:
outputs:
yaxunit_version: ${{ steps.extract_version.outputs.version }}
smoke_version: ${{ steps.extract_smoke_version.outputs.version }}

steps:
- name: Извлечение исходников PR
if: github.event_name == 'pull_request_target' || github.event_name == 'pull_request'
uses: actions/checkout@v4
with:
ref: refs/pull/${{ github.event.number }}/merge # Для поддержки pull_request и pull_request_target


- name: Извлечение исходников ветки ${{ github.ref_name }}
if: github.event_name == 'push'
uses: actions/checkout@v4
Expand All @@ -63,49 +63,49 @@ jobs:
type: edt
edt_version: ${{ inputs.edt_version }}
cache: true
env:
env:
ONEC_USERNAME: ${{ secrets.ONEC_USERNAME }}
ONEC_PASSWORD: ${{ secrets.ONEC_PASSWORD }}
timeout-minutes: 30

- name: Ковертация исходников конфигурации
if: ${{ !inputs.engine_only }}
uses: alkoleft/onec-edtcli-command-action@main
with:
export: true
from: fixtures/demo-configuration
to: export/configuration
timeout: 5
timeout-minutes: 10
timeout: 15
timeout-minutes: 15

- name: Ковертация исходников YAxUnit
uses: alkoleft/onec-edtcli-command-action@main
with:
export: true
from: exts/yaxunit
to: export/yaxunit
timeout: 5
timeout-minutes: 10
timeout: 15
timeout-minutes: 15

- name: Ковертация исходников тестов
if: ${{ !inputs.engine_only }}
uses: alkoleft/onec-edtcli-command-action@main
with:
export: true
from: tests
to: export/tests
timeout: 5
timeout-minutes: 10
timeout: 15
timeout-minutes: 15

- name: Ковертация исходников дымовых тестов
uses: alkoleft/onec-edtcli-command-action@main
with:
export: true
from: exts/smoke
to: export/smoke
timeout: 5
timeout-minutes: 10
timeout: 15
timeout-minutes: 15

- name: Упаковка исходников в архив
run: |
cd export
Expand Down

0 comments on commit e5f0031

Please sign in to comment.