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/**'
|
- 'Encode/**'
|
||||||
commonCode:
|
commonCode:
|
||||||
- '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:
|
build-commoncode:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -59,7 +65,7 @@ jobs:
|
|||||||
|
|
||||||
build-encode:
|
build-encode:
|
||||||
needs: build-commoncode
|
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
|
runs-on: ubuntu-latest
|
||||||
#if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
|
#if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
|
||||||
|
|
||||||
@ -107,7 +113,7 @@ jobs:
|
|||||||
build-reader:
|
build-reader:
|
||||||
needs: build-commoncode
|
needs: build-commoncode
|
||||||
runs-on: ubuntu-latest
|
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:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@ -152,7 +158,7 @@ jobs:
|
|||||||
|
|
||||||
build-pymetadata:
|
build-pymetadata:
|
||||||
needs: pre-check
|
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
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user