diff --git a/.github/workflows/continuous-integraion-workflow.yml b/.github/workflows/continuous-integraion-workflow.yml index 3316bf6..40125cb 100644 --- a/.github/workflows/continuous-integraion-workflow.yml +++ b/.github/workflows/continuous-integraion-workflow.yml @@ -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 \ No newline at end of file + run: ./gradlew check -PartifactoryUsername="$ARTIFACTORY_USERNAME" -PartifactoryPassword="$ARTIFACTORY_PASSWORD" --continue \ No newline at end of file