Update main.yml
This commit is contained in:
parent
812944a3a8
commit
0e7a656cd8
16
.github/workflows/main.yml
vendored
16
.github/workflows/main.yml
vendored
@ -69,7 +69,13 @@ jobs:
|
||||
- name: Check if Reader has changed
|
||||
id: check-reader
|
||||
run: echo ::set-output name=changed::$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} Reader)
|
||||
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_NAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
|
||||
- name: Build Reader module
|
||||
run: |
|
||||
if [ "${{ steps.check-reader.outputs.changed }}" == "Reader" ] || [ "${{ github.event_name }}" == "push" ]; then
|
||||
@ -106,7 +112,13 @@ jobs:
|
||||
- name: Check if pyMetadata has changed
|
||||
id: check-pymetadata
|
||||
run: echo ::set-output name=changed::$(git diff --name-only ${{ github.event.before }} ${{ github.event.after }} pyMetadata)
|
||||
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_HUB_NAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_TOKEN }}
|
||||
|
||||
- name: Build pyMetadata module
|
||||
run: |
|
||||
if [ "${{ steps.check-pymetadata.outputs.changed }}" == "pyMetadata" ] || [ "${{ github.event_name }}" == "push" ]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user