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

3.5: aborts on checkout with "detected dubious ownership" #93

Closed
Reneator opened this issue Aug 7, 2022 · 2 comments
Closed

3.5: aborts on checkout with "detected dubious ownership" #93

Reneator opened this issue Aug 7, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Reneator
Copy link

Reneator commented Aug 7, 2022

Using github actions i set up a workflow file that uses godot-ci.
When using the previous version 3.4.4 it works no problem (retested after this error) but with 3.5 it aborts:

image

At the same location in the output for a build using godot and godot-ci 3.4.4:

image

Here the workflow file im using for 3.5:

name: "Deploy Dev-Playtest Branch"
on:
  push:
    # Pattern matched against refs/tags
    tags:        
      - '*.dev*'

env:
  GODOT_VERSION: 3.5
  EXPORT_NAME: progress_game

jobs:
  export-windows:
    name: Windows Export
    runs-on: ubuntu-latest
    container:
      image: barichello/godot-ci:3.5
    steps:
      - name: Checkout
        uses: actions/checkout@v3.0.0
        with:
          lfs: true
      - name: Setup
        run: |
          mkdir -v -p ~/.local/share/godot/templates
          mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
      - name: Windows Build
        run: |
          mkdir -v -p build/windows
          godot -v --export "Windows Desktop" build/windows/${EXPORT_NAME}.exe
      - name: Upload Artifact
        uses: actions/upload-artifact@v3.0.0
        with:
          name: windows
          path: build/windows
 [...]
         

The file has some more extra steps, but it already aborts with the export-windows step.

When changing the version in the workflow file im changing both the godot_version and the godot-ci version

@Reneator
Copy link
Author

Reneator commented Aug 7, 2022

The same is happening for 3.4.5:
image

@Reneator
Copy link
Author

Reneator commented Aug 7, 2022

Bumping the version of git checkout (actions/checkout) from 3.0.0 -> 3.0.2 fixed it for me to properly build on 3.4.5 and 3.5.

image

Maybe this can be helpful to someone else googling this problem^^

But i find it quite interesting that checkout 3.0.0 works fine with 3.4.4 but doesnt work 3.4.5 onwards, checked out the changes in the godot-ci repo since 3.4.4 and it doesnt look like any huge changes that could make it break. Or maybe 3.4.5+ use a newer stable linux distribution that doesnt work with the 3.0.0 checkout action? (because a new stable linux distribution got available)

@Reneator Reneator closed this as completed Aug 7, 2022
@Calinou Calinou added the bug Something isn't working label Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants