Browse Source

Add artifactoryUsername/Password

Rob Winch 4 years ago
parent
commit
a89f2ce885
1 changed files with 5 additions and 1 deletions
  1. 5 1
      .github/workflows/continuous-integraion-workflow.yml

+ 5 - 1
.github/workflows/continuous-integraion-workflow.yml

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