Skip to content

Commit

Permalink
Convert
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsbinder committed May 24, 2024
1 parent f1d6001 commit 1666073
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ jobs:
set -o pipefail
source ${{ matrix.buildconfig }}
echo "package-name=${PACKAGE_NAME}" >> "${GITHUB_OUTPUT}"
echo "subject-paths=${SUBJECT_PATHS}" >> "${GITHUB_OUTPUT}"
subject_paths_json=$(jq --compact-output --null-input \
'$ARGS.positional' --args -- "${SUBJECT_PATHS[@]}")
echo "subject-paths=${subject_paths_json}" >> "${GITHUB_OUTPUT}"
- name: Show values
run: |
Expand Down Expand Up @@ -92,7 +94,7 @@ jobs:
- name: Show build artifacts
run: |
echo "${{ steps.parse.outputs.subject-paths }}"
ls -la ${{ steps.parse.outputs.subject-paths }}
ls -la ${{ fromJson(steps.parse.outputs.subject-paths) }}
- name: Attest
id: attest
Expand Down Expand Up @@ -123,7 +125,7 @@ jobs:
bucket=oak-bins
package_name=${{ steps.parse.outputs.package-name }}
subject_paths=( ${{ steps.parse.outputs.subject-paths }} )
subject_paths=${{ steps.parse.outputs.subject-paths }}
binary_path="${subject_paths[0]}"
provenance_path=${{ steps.attest.outputs.bundle-path }}
Expand Down

0 comments on commit 1666073

Please sign in to comment.