Skip to content

Commit

Permalink
chore: fix slsa
Browse files Browse the repository at this point in the history
Somehow what should be a file is a folder.

This workaround should allow the CI to work correctly but might not be
the most elegant fix.
  • Loading branch information
fd0r committed Jun 21, 2024
1 parent cbfcef7 commit 763e34e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ jobs:
uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427
with:
pattern: '*.intoto.jsonl'
path: ${{ env.ARTIFACTS_PACKAGED_DIR }}/
path: ${{ env.ARTIFACTS_PACKAGED_DIR }}/../slsa/

- name: Copy wheel to docker build context
run: |
Expand Down Expand Up @@ -553,14 +553,18 @@ jobs:
--repo ${{ github.repository }} \
--verify-tag ${{ env.GIT_TAG }} \
--title ${{ env.GIT_TAG }} \
${{ env.ARTIFACTS_PACKAGED_DIR }}/*
${{ env.ARTIFACTS_PACKAGED_DIR }}/* \
${{ env.ARTIFACTS_PACKAGED_DIR }}/../slsa/*.intoto.jsonl/*
else
gh release create \
--notes-file ${{ env.RELEASE_BODY_FILE }} \
--repo ${{ github.repository }} \
--verify-tag ${{ env.GIT_TAG }} \
--title ${{ env.GIT_TAG }} \
${{ env.ARTIFACTS_PACKAGED_DIR }}/*
${{ env.ARTIFACTS_PACKAGED_DIR }}/* \
${{ env.ARTIFACTS_PACKAGED_DIR }}/../slsa/*.intoto.jsonl/*
fi
- name: Get release link
Expand Down

0 comments on commit 763e34e

Please sign in to comment.