Skip to content

Commit 7ee6ec4

Browse files
committed
ci: Fix SNAPSHOT publishing problem
This commit addresses an issue of snapshots not being published by removing the use of `GH_TOKEN` during the repository checkout process in the workflow file. The error message is "Error: fatal: could not read Username for 'https://github.com': terminal prompts disabled" when `actions/checkout@v4` does git fetch.
1 parent 521653b commit 7ee6ec4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/workflows/gradle.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ jobs:
4545
steps:
4646
- name: Checkout repository
4747
uses: actions/checkout@v4
48-
with:
49-
token: ${{ secrets.GH_TOKEN }}
5048
- name: Set up JDK 11
5149
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
5250
with:

0 commit comments

Comments
 (0)