Use relative path for assembly file

As we're getting the assembly file from the API, we don't need an
absolute path to the workspace.
This commit is contained in:
Shrikanth Upadhayaya 2024-09-12 11:59:00 -04:00
parent 03812f1111
commit 6c41088f51
No known key found for this signature in database
2 changed files with 1 additions and 3 deletions

View File

@ -28,7 +28,7 @@ runs:
image: "Dockerfile"
args:
- "--assembly-file"
- "${{ github.workspace}}/${{ inputs.assembly_file_path }}"
- ${{ inputs.assembly_file_path }}
- "--variant"
- ${{ inputs.variant }}
- "--output-file"

View File

@ -18,8 +18,6 @@ from typing import Mapping, Sequence, TextIO, Optional
from allspice import AllSpice, Repository
from allspice.utils.list_components import list_components, ComponentAttributes
ASSEMBLY_YAML_FILE_PATH = "assembly.yaml"
ATTRIBUTES_TO_CHECK = [
"_reference",
"_logical_reference",