Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/workflows/publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}

- name: Grant execute permission for Gradle wrapper
run: chmod +x ./gradlew

# CONFIGURATION REQUIRED:
# The following step publishes to GitHub Packages using credentials.
# No additional setup is needed as the project already has:
Expand All @@ -45,9 +42,8 @@ jobs:
# 1. Create a Personal Access Token (PAT) with 'write:packages' permission
# 2. Add it as a repository secret (e.g., PACKAGES_TOKEN)
# 3. Use that secret instead of GITHUB_TOKEN
#
- name: Publish to GitHub Packages
env:
USERNAME: ${{ github.actor }} # GitHub username of the user/bot triggering the workflow
TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub token with packages:write permission
run: ./gradlew publish
run: gradle publish
2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ publishing {
developer {
id.set("hossain-khan")
name.set("Hossain Khan")
email.set("hossain@hossain.dev")
email.set("eng@hossain.dev")
}
}

Expand Down