Could not read username error.
See original GitHub issueMy github action is giving me the error.
name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Initiate repository
uses: s4u/maven-settings-action@v2.1.0
env:
MAVEN_READ_URL: ${{ secrets.MAVEN_READ_URL }}
MAVEN_SERVER_ID: ${{ secrets.MAVEN_SERVER_ID }}
MAVEN_SERVER_PASSWORD: ${{ secrets.MAVEN_SERVER_PASSWORD }}
MAVEN_SERVER_USERNAME: ${{ secrets.MAVEN_SERVER_USERNAME }}
with:
servers: '[{"id": "%MAVEN_SERVER_ID%", "username": "%MAVEN_SERVER_USERNAME%", "password": "%MAVEN_SERVER_PASSWORD%"}]'
properties: '[{"myMavenRepo.read": "%MAVEN_READ_URL%"}]'
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Checkout repository
uses: actions/checkout@v2
with:
path: main
- name: Checkout private repository
uses: actions/checkout@v2
with:
repository: MinecraftHouse/Ppom
token: ${{ secrets.ACCESS_TOKEN }}
path: ppom
# - name: Build with Maven
# run: mvn install -Dgpg.skip=true -B -ntp --file pom.xml --settings /home/runner/.m2/settings.xml
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
fatal: could not read Username for 'https://github.com': No such ...
This is an issue with your stored credentials in the system credential cache. You probably have the config variable 'credential.helper' set to ...
Read more >Fatal: Could not read Username for "https://github.com", No ...
Hello! Today I was doing the setup of a git automation inside a Docker container using hub and I ran into something that...
Read more >Fixing could not read Username for 'https://github.com'
This stores the user name and password into ~/.git-credentials and is supposed to let you push to an HTTPS Git URL without entering...
Read more >Git failed with a fatal error. fatal: could not read Username for...
Receiving this error when clicking the Sync link in Team Explorer. This has been working fine several times today, and then suddenly stopped...
Read more >Sometimes builds fail due to fatal: could not read Username ...
Hi In 1 out of 10 builds I get the following error: Cloning with 0 retries Initialized empty Git repository in /drone/src/.git/ +...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@portlek Well, please keep it open for me 😃
how did you get it solved ? can you explain it? i am getting same problem with my organization workflow