mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +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') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
- run: echo "Hello Github Actions"
|
||||
- run: find
|
||||
- run: ./mvnw compile
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: petclinic-build
|
||||
path: target/
|
||||
Test-Petclinic:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ Build-Petclinic ]
|
||||
steps:
|
||||
- uses: actions/dwwonload-artifact@v2
|
||||
with:
|
||||
name: petclinic-build
|
||||
path: target/
|
||||
- run: find
|
Loading…
Reference in a new issue