Skip to content

Commit

Permalink
Update Build AppControl Manager MSIX Package.yml
Browse files Browse the repository at this point in the history
Adding the generated files to the draft release
  • Loading branch information
HotCakeX committed Oct 27, 2024
1 parent 797dce7 commit 7818bf8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/Build AppControl Manager MSIX Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,21 @@ jobs:
subject-path: ${{ env.MSIX_PATH }}
sbom-path: ./HardenWindowsSecurityRepoSBOM.spdx
show-summary: true

- name: Finding the Latest Draft Release
id: find_draft_release
run: |
DRAFT_RELEASE_ID=$(gh release list --json id,draft -q ".[?draft==true][0].id")
if [[ -z "$DRAFT_RELEASE_ID" ]]; then
echo "No draft release found"
exit 1
fi
echo "DRAFT_RELEASE_ID=$DRAFT_RELEASE_ID" >> $GITHUB_ENV
- name: Uploading the MSIX Package to Draft Release
run: |
gh release upload ${{ env.DRAFT_RELEASE_ID }} "${{ env.MSIX_PATH }}" --clobber
- name: Uploading the SBOM to Draft Release
run: |
gh release upload ${{ env.DRAFT_RELEASE_ID }} HardenWindowsSecurityRepoSBOM.spdx --clobber

0 comments on commit 7818bf8

Please sign in to comment.