Add artifactoryUsername/Password

This commit is contained in:
Rob Winch 2020-11-19 11:40:23 -06:00
parent e2c3dcc254
commit a89f2ce885
1 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@ on:
schedule:
- cron: '0 10 * * *' # Once per day at 10am UTC
env:
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
jobs:
build:
name: Build
@ -23,4 +27,4 @@ jobs:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Build with Gradle
run: ./gradlew check --continue
run: ./gradlew check -PartifactoryUsername="$ARTIFACTORY_USERNAME" -PartifactoryPassword="$ARTIFACTORY_PASSWORD" --continue