Skip to content

Commit

Permalink
Attempt to fix build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
jgressmann committed Jun 1, 2024
1 parent f3b8094 commit 21a2db0
Showing 1 changed file with 13 additions and 23 deletions.
36 changes: 13 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,27 +169,17 @@ jobs:
provenance:
needs: [collect]
runs-on: ubuntu-latest
permissions:
actions: read
id-token: write
contents: write

steps:
- name: Create provenance
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
base64-subjects: "${{ needs.collect.outputs.hashes }}"
# Upload provenance to a new release
upload-assets: false
provenance-name: supercan.intoto.jsonl

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
path: supercan.intoto.jsonl
if-no-files-found: error
name: provenance
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected]
with:
base64-subjects: "${{ needs.collect.outputs.hashes }}"
# Upload provenance to a new release
upload-assets: false
provenance-name: supercan.intoto.jsonl


latest:
Expand All @@ -200,8 +190,12 @@ jobs:
- name: Download artifacts
id: download
uses: actions/download-artifact@v4
# with:
# path: artifact

- name: Download provenance
id: download2
uses: actions/download-artifact@v4
with:
name: supercan.intoto.jsonl

- name: Debugging
run: |
Expand All @@ -212,14 +206,10 @@ jobs:
with:
tag_name: latest-master
files: |
# ${{ steps.download.outputs.download-path }}/artifact/sources/*
# ${{ steps.download.outputs.download-path }}/artifact/windows/*
# ${{ steps.download.outputs.download-path }}/artifact/firmware/*
# ${{ steps.download.outputs.download-path }}/artifact/supercan.intoto.jsonl/supercan.intoto.jsonl
${{ steps.download.outputs.download-path }}/sources/*
${{ steps.download.outputs.download-path }}/windows/*
${{ steps.download.outputs.download-path }}/firmware/*
${{ steps.download.outputs.download-path }}/supercan.intoto.jsonl/supercan.intoto.jsonl
${{ steps.download2.outputs.download-path }}/supercan.intoto.jsonl/supercan.intoto.jsonl
release:
Expand Down

0 comments on commit 21a2db0

Please sign in to comment.