Skip to content

[Bug]: Cant create a release if project does contain test app only #2211

@ChrisBlankDe

Description

@ChrisBlankDe

AL-Go version

9.0

Describe the issue

The release workflow encounters an error if a project contains only a test app and no other apps.

Determining Artifacts for release

Get settings from env
projects:
- ExtendedTests
- Main
Repo Artifacts count: 14
Downloaded Artifacts count: 14
Analyzing artifacts for project ExtendedTests
Grab latest
Enabling Microsoft telemetry...
Error: Unexpected error when running action. Error Message: No artifacts found for this project, StackTrace: at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v9.0\DetermineArtifactsForRelease\DetermineArtifactsForRelease.ps1: line 67 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v9.0\DetermineArtifactsForRelease\DetermineArtifactsForRelease.ps1: line 43 <- at <ScriptBlock>, D:\a\_temp\48804e17-52ac-4f89-8db9-2ce878905866.ps1: line 3 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v9.0\Invoke-AlGoAction.ps1: line 21 <- at <ScriptBlock>, D:\a\_temp\48804e17-52ac-4f89-8db9-2ce878905866.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1
Error: Process completed with exit code 1.

Expected behavior

Release should be possible with test only projects

Steps to reproduce

  1. Create a new PTE Repo.
  2. Create App in Project A
  3. Create TestApp in Project A
  4. Create TestApp in Project B
  5. Wait for CI
  6. Create Release

Additional context (logs, screenshots, etc.)

Simplified Repo: https://github.com/ChrisBlankDe/ALGoOnlyTestAppInProject

Logs: logs_64541666874.zip

Metadata

Metadata

Labels

Fix ReadyFix ReadyIn PreviewCurrently available in AL-Go for GitHub previewbugSomething 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