Skip to content

Commit

Permalink
fix(ci): use correct github credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
bigspeedfpv committed Sep 24, 2024
1 parent 794ef8a commit 59e25d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
./gradlew clean build
- name: Publish Release to Github Package Registry
run: |
./gradlew publish
run: ./gradlew publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Documentation:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ subprojects {
url = "https://maven.pkg.github.com/xoogware/mccoroutine"

credentials {
username = project.hasProperty("gpr.user") ? project.findProperty("gpr.user") : System.getenv("USERNAME")
password = project.hasProperty("gpr.key") ? project.findProperty("gpr.key") : System.getenv("TOKEN")
username = project.hasProperty("gpr.user") ? project.findProperty("gpr.user") : System.getenv("GITHUB_ACTOR")
password = project.hasProperty("gpr.key") ? project.findProperty("gpr.key") : System.getenv("GITHUB_TOKEN")
}
}
}
Expand Down

0 comments on commit 59e25d5

Please sign in to comment.