From 906b495b1b52a7cd3549dd2b6039bad56a939cac Mon Sep 17 00:00:00 2001 From: Andrew Aylett Date: Mon, 4 Apr 2022 13:23:31 +0100 Subject: [PATCH] Need to specify property for publish to complete --- .github/workflows/publish.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ae07033..fb89eb4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -32,14 +32,18 @@ jobs: - name: Build with Gradle uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee with: - arguments: build + arguments: | + build + -Denterprise.tos.agree=yes # The USERNAME and TOKEN need to correspond to the credentials environment variables used in # the publishing section of your build.gradle - name: Publish to GitHub Packages uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee with: - arguments: publish + arguments: | + publish + -Denterprise.tos.agree=yes env: USERNAME: ${{ github.actor }} TOKEN: ${{ secrets.GITHUB_TOKEN }}