mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2024-11-04 15:00:14 +01:00
Update push-docker.yml
This commit is contained in:
parent
0b09ef16b2
commit
1f1f50a615
19
.github/workflows/push-docker.yml
vendored
19
.github/workflows/push-docker.yml
vendored
@ -6,12 +6,27 @@ on:
|
||||
- master
|
||||
- main
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
detectChangeType:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Has Changed
|
||||
uses: YassinEldeeb/has-changed-path@v2.1
|
||||
id: changed
|
||||
with:
|
||||
# Paths to detect changes
|
||||
paths: build.gradle src/ Dockerfile
|
||||
|
||||
|
||||
push:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
if: steps.changed.outputs.changed == 'true'
|
||||
steps:
|
||||
|
||||
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
|
Loading…
Reference in New Issue
Block a user