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

Cannot read property 'head' of undefined #301

Open
rgnter opened this issue Aug 16, 2022 · 0 comments
Open

Cannot read property 'head' of undefined #301

rgnter opened this issue Aug 16, 2022 · 0 comments

Comments

@rgnter
Copy link

rgnter commented Aug 16, 2022

I've already seen issue posted here, but nothing helps. My organization has repository ethernal-project\ethernal-core which depends on public SpigotMC/BungeeCord.

My defintions file (click for full raw definitions file):

version: "2.1"

# Dependencies
dependencies:
  - project: SpigotMC/BungeeCord
  - project: ethernal-project/ethernal-core
    dependencies: 
      - project: SpigotMC/BungeeCord

# Builds
default:
  build-command:
    current: echo "build bungee"
build:
  - project: ethernal-project/ethernal-core
    build-command:
      current: echo "build core"

And my action file:

name: Java CI with Gradle
on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
permissions:
  contents: read
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    # Setup JDK
    - uses: actions/checkout@v3
    - name: Set up JDK 17
      uses: actions/setup-java@v3
      with:
        java-version: '17'
        distribution: 'temurin'
        
    # Build Chain
    - name: "Run build-chain"
      id: build-chain
      uses: kiegroup/github-action-build-chain@v2.6.8
      with:
        definition-file: https://gist.githubusercontent.com/rgnter/1484f65a1a2396b870886f74c454abfe/raw/bc2ab1c61e2d0f97f05c15bded58100c0ea0f192/definitions.yml
    # Build
    - name: Build with Gradle
      uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
      with:
        arguments: build

Here's the log (click for full raw log):
image

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

1 participant