Skip to content

Commit

Permalink
fix(ci): add USERNAME and TOKEN to build job for github maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dhommen committed Jan 24, 2024
1 parent 0f54632 commit ef56693
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
uses: gradle/[email protected]
with:
arguments: build ${{ env.GRADLE_ARGS }}
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Gradle: Publish (Main & Release Only)"
uses: gradle/[email protected]
if: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
Expand Down

0 comments on commit ef56693

Please sign in to comment.