-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50eebf9
commit 5007f4d
Showing
1 changed file
with
9 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,8 +30,6 @@ jobs: | |
shell: bash | ||
run: | | ||
echo "hash${{ matrix.configuration }}=$( sha256sum 'LGTV Companion Setup/bin/${{ matrix.configuration }}/LGTV Companion Setup.msi' | base64 -w0 )" >> "$GITHUB_OUTPUT" | ||
echo "hash${{ matrix.configuration }}=$( sha256sum 'LGTV Companion Setup/bin/${{ matrix.configuration }}/LGTV Companion Setup.msi' | base64 -w0 )" | ||
sha256sum 'LGTV Companion Setup/bin/${{ matrix.configuration }}/LGTV Companion Setup.msi' | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: LGTVCompanion-Output-${{ matrix.configuration }} | ||
|
@@ -40,13 +38,6 @@ jobs: | |
with: | ||
name: LGTVCompanion-Setup-${{ matrix.configuration }} | ||
path: LGTV Companion Setup/bin/${{ matrix.configuration }}/ | ||
testing: | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Test passing output | ||
id: output-test | ||
run: echo "${{ needs.build.outputs.hashReleaseInstaller }}" | ||
provenance: | ||
needs: [build] | ||
if: startsWith(github.ref, 'refs/tags/') | ||
|
@@ -57,8 +48,8 @@ jobs: | |
uses: slsa-framework/slsa-github-generator/.github/workflows/[email protected] | ||
with: | ||
base64-subjects: "${{ needs.build.outputs.hashReleaseInstaller }}" | ||
draft-release: true | ||
upload-assets: true # Optional: Upload to a new release | ||
draft-release: false | ||
upload-assets: false # Optional: Upload to a new release | ||
release: | ||
needs: [build, provenance] | ||
runs-on: ubuntu-latest | ||
|
@@ -70,9 +61,15 @@ jobs: | |
uses: actions/download-artifact@v4 | ||
with: | ||
name: LGTVCompanion-Setup-Release | ||
- name: Download Provenance | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: LGTV Companion Setup.msi.intoto.jsonl | ||
- name: Upload assets | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
files: LGTV Companion Setup.msi | ||
files: | | ||
LGTV Companion Setup.msi | ||
LGTV Companion Setup.msi.intoto.jsonl | ||
draft: true | ||
generate_release_notes: true |