Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fatal: Not a git repository #2

Open
jebarpg opened this issue Aug 2, 2024 · 2 comments
Open

fatal: Not a git repository #2

jebarpg opened this issue Aug 2, 2024 · 2 comments

Comments

@jebarpg
Copy link

jebarpg commented Aug 2, 2024

I'm getting the following error messages on runs

Run sangatdesai/release-apk@main
  with:
  env:
   JAVA_HOME: /opt/hostedtoolcache/Java_Corretto_jdk/17.0.12-7.1/x64
    JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Corretto_jdk/17.0.12-7.1/x64
    CARGO_HOME: /home/runner/.cargo
    CARGO_INCREMENTAL: 0
    CARGO_TERM_COLOR: always
    CACHE_ON_FAILURE: false
    GITHUB_TOKEN: ***
    APP_FOLDER: android/app
/usr/bin/docker run --name cf1ba6c1c39ace11a2472fadb0e48a67c64688_49f153 --label cf1ba6 --workdir /github/workspace --rm -e "JAVA_HOME" -e "JAVA_HOME_17_X64" -e "CARGO_HOME" -e "CARGO_INCREMENTAL" -e "CARGO_TERM_COLOR" -e "CACHE_ON_FAILURE" -e "GITHUB_TOKEN" -e "APP_FOLDER" -e "INPUT_GITHUB_TOKEN" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_RE
fatal: Not a git repository

My repo has a directory called 'android' and inside that directory is the app directory. Is there some sort of issue with where the action is trying to look for the repo using the APP_FOLDER environment variable?

@ostaubzug
Copy link

Just got the exact same error, have you been able to solve it ?

@jebarpg
Copy link
Author

jebarpg commented Oct 25, 2024

I ended up creating my own release GitHub action for this.
jebarpg/[email protected]

But it's tailored specifically towards how I'm using the action for my deploy repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants