Skip to content

Commit

Permalink
publish package on github
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland committed Jun 15, 2024
1 parent 11b9784 commit 750eb2d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,9 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: RCONLib
path: build/libs/*.jar
path: build/libs/*.jar
- name: Publish to GitHub Packages
env:
ACTOR: "RTAkland"
TOKEN: ${{ secrets.GIT_TOKEN }}
run: ./gradlew publish
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ publishing {
name = "GithubPackages"
url = uri("https://maven.pkg.github.com/DangoTown/RCONLib")
credentials {
username = "RTAkland"
password = System.getenv("GITHUB_TOKEN")
username = System.getenv("ACTOR")
password = System.getenv("TOKEN")
}
}
}
Expand Down

0 comments on commit 750eb2d

Please sign in to comment.