Bump actions/download-artifact from 2 to 4.1.7 in /.github/workflows #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci-pull-request | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: 11 | |
distribution: adopt | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.m2/repository | |
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }} | |
- name: mvn | |
run: |- | |
mvn clean package \ | |
--batch-mode \ | |
--file ./pom.xml \ | |
--settings ./settings.xml \ | |
--define app.packages.username="${APP_PACKAGES_USERNAME}" \ | |
--define app.packages.password="${APP_PACKAGES_PASSWORD}" | |
env: | |
APP_PACKAGES_USERNAME: ${{ github.actor }} | |
APP_PACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
- name: docker | |
run: |- | |
docker build . \ | |
--file ./docker/CloudFoundry | |
- name: docker | |
run: |- | |
docker build . \ | |
--file ./docker/Native |