Skip to content

Commit

Permalink
fix: add username and token
Browse files Browse the repository at this point in the history
  • Loading branch information
DuoDuoJuZi authored Dec 24, 2024
1 parent e79fcce commit 5edfdc7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:

- name: Build with Gradle
run: ./gradlew shadowJar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}

- name: Set outputs
id: short_sha
Expand All @@ -35,6 +38,7 @@ jobs:
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}

- uses: actions/[email protected]
with:
Expand Down

0 comments on commit 5edfdc7

Please sign in to comment.