Skip to content

[Bug]: Update AL-Go System Files fails when using Custom Template #2053

@Mkublbock

Description

@Mkublbock

AL-Go version

8.0

Describe the issue

We have recently created a Custom Template for PTE apps. This template regularly pulls from AL-Go PTE Template. This has worked until now. We have just created a new repository from our template and then wanted to run Update AL-Go System Files to make sure everything works. But we run into the following error:
[[main] Update AL-Go System Files](https://github.com/COUNT-IT-GmbH-Business-Solutions-ERP/Rotes-Kreuz-Wien/actions/runs/19820872208/job/56782750825#step:8:204) Unexpected error when running action. Error Message: Unable to get content because it is a directory: 'C:\Users\runneradmin\AppData\Local\Temp\40a20fbe-2368-4c1d-827c-fe79ee7c30df\COUNT-IT-GmbH-Business-Solutions-ERP-CIT-PTE-Template-9b54ba3dc3ec19b42f7f3190d2dc89abf0b08204\.github\workflows\.github'. Please use 'Get-ChildItem' instead., StackTrace: at Load, D:\a\_actions\microsoft\AL-Go-Actions\v8.0\CheckForUpdates\yamlclass.ps1: line 22 <- at GetWorkflowContentWithChangesFromSettings, D:\a\_actions\microsoft\AL-Go-Actions\v8.0\CheckForUpdates\CheckForUpdates.HelperFunctions.ps1: line 313 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v8.0\CheckForUpdates\CheckForUpdates.ps1: line 230 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v8.0\CheckForUpdates\CheckForUpdates.ps1: line 193 <- at <ScriptBlock>, D:\a\_temp\4a90f5cf-5b2d-41e3-b3fd-3e36684dd40c.ps1: line 3 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v8.0\Invoke-AlGoAction.ps1: line 21 <- at <ScriptBlock>, D:\a\_temp\4a90f5cf-5b2d-41e3-b3fd-3e36684dd40c.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1

Expected behavior

Action "Update AL-Go System Files" runs successfully

Steps to reproduce

Create a custom template
Create a new Repository from that template
Start Action "Update AL-Go System Files"

Additional context (logs, screenshots, etc.)

logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Need more infoPlease add more info about how to repro the problembugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions