Skip to content

Commit

Permalink
Need to specify property for publish to complete
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewaylett committed Apr 4, 2022
1 parent 1f505c4 commit 906b495
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 906b495

Please sign in to comment.