From 19db1274fd38e4cf5f71deace8b25ce8c37956df Mon Sep 17 00:00:00 2001 From: Jean Gressmann Date: Sun, 15 Oct 2023 18:23:50 +0200 Subject: [PATCH] Github action debugging --- .github/workflows/build.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39e79db..7dfc12a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -283,7 +283,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: artifact/supercan-firmware.tar.xz + asset_path: ./artifact/supercan-firmware.tar.xz asset_name: supercan-firmware.tar.xz asset_content_type: application/x-xz @@ -293,7 +293,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: artifact/ supercan-win.7z + asset_path: ./artifact/ supercan-win.7z asset_name: supercan-win.7z asset_content_type: application/x-7z-compressed @@ -303,6 +303,17 @@ jobs: GITHUB_TOKEN: ${{ github.token }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: artifact/ supercan_inst.exe + asset_path: ./artifact/ supercan_inst.exe asset_name: supercan_inst.exe - asset_content_type: application/vnd.microsoft.portable-executable \ No newline at end of file + asset_content_type: application/vnd.microsoft.portable-executable + + - name: Upload SLSA provenance + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ github.token }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./supercan.intoto.jsonl/supercan.intoto.jsonl + asset_name: supercan.intoto.jsonl + asset_content_type: application/vnd.microsoft.portable-executable +