Updated main.yml
This commit is contained in:
parent
ae6f21e8f9
commit
7d0528572f
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -34,7 +34,13 @@ jobs:
|
||||
- 'Encode/**'
|
||||
commonCode:
|
||||
- 'CommonCode/**'
|
||||
|
||||
# Step to print the outputs from "pre-check" job
|
||||
- name: Print Outputs from pre-check job
|
||||
run: |
|
||||
echo "pyMetadata: ${{ needs.pre-check.outputs.pyMetadata }}"
|
||||
echo "commonCode: ${{ needs.pre-check.outputs.commonCode }}"
|
||||
echo "reader: ${{ needs.pre-check.outputs.reader }}"
|
||||
echo "encode: ${{ needs.pre-check.outputs.encode }}"
|
||||
|
||||
build-commoncode:
|
||||
runs-on: ubuntu-latest
|
||||
@ -59,7 +65,7 @@ jobs:
|
||||
|
||||
build-encode:
|
||||
needs: build-commoncode
|
||||
if: ${{ needs.changes.outputs.encode == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
if: ${{ needs.pre-check.outputs.encode == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
runs-on: ubuntu-latest
|
||||
#if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
|
||||
|
||||
@ -107,7 +113,7 @@ jobs:
|
||||
build-reader:
|
||||
needs: build-commoncode
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ needs.changes.outputs.reader == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
if: ${{ needs.pre-check.outputs.reader == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
@ -152,7 +158,7 @@ jobs:
|
||||
|
||||
build-pymetadata:
|
||||
needs: pre-check
|
||||
if: ${{ needs.changes.outputs.pyMetadata == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
if: ${{ needs.pre-check.outputs.pyMetadata == 'true' || github.event_name == 'workflow_dispatch' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user