mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 10:25:48 +00:00
Store artifacts between jobs
This commit is contained in:
parent
ffab8b1051
commit
97bc9aad02
1 changed files with 8 additions and 2 deletions
10
.github/workflows/petclinic.yaml
vendored
10
.github/workflows/petclinic.yaml
vendored
|
@ -18,11 +18,17 @@ jobs:
|
||||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-maven-
|
${{ runner.os }}-maven-
|
||||||
- run: echo "Hello Github Actions"
|
|
||||||
- run: find
|
|
||||||
- run: ./mvnw compile
|
- run: ./mvnw compile
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: petclinic-build
|
||||||
|
path: target/
|
||||||
Test-Petclinic:
|
Test-Petclinic:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [ Build-Petclinic ]
|
needs: [ Build-Petclinic ]
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/dwwonload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: petclinic-build
|
||||||
|
path: target/
|
||||||
- run: find
|
- run: find
|
Loading…
Reference in a new issue