Skip to content

Forked repo fails to successfully execute setup-java #536

@HughPowell

Description

@HughPowell

Description:
Having forked the metosin/spec-tools repo, which has executed and successfully run the setup-java action, the action fails on my repo, HughPowell/spec-tools, because it can't find a pom.xml file.
Both the original repo's workflow and mine are identical.

Task version:
v3

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:

  • Fork my repo
  • Create a personal access token (classic) with the repo scope (including all children).
  • Clone your fork and cd into the repo
  • Run GITHUB_TOKEN=<access token created above> ./scripts/releases (if you need to re-run this step then delete the latest Releases on the front page of the repo).
  • Enter y when prompted
  • Go to the Actions tab in GitHub and notice that the setup-java action fails

Expected behavior:
The setup-java action succeeds.

Actual behavior:
The setup-java action fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions