Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/sycl-rel-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,3 +180,9 @@ jobs:

sycl_windows_artifact: sycl_windows_release
sycl_windows_archive: ${{ needs.build-win.outputs.artifact_archive_name }}

sign-release-builds:
needs: [ubuntu2204_build, build-win]
uses: ./.github/workflows/sycl-sign-release-builds.yml
permissions:
id-token: write
29 changes: 29 additions & 0 deletions .github/workflows/sycl-sign-release-builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Sign Release Artifacts

on:
workflow_call:

permissions:
id-token: write

jobs:
sign-artifact:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Download artifact
run: |
gh run download ${{ github.run_id }} -R ${{ github.repository }} -n sycl_linux_release
gh run download ${{ github.run_id }} -R ${{ github.repository }} -n sycl_windows_release

- name: Sign with Sigstore
uses: sigstore/[email protected]
with:
inputs: sycl_linux.tar.gz sycl_windows.tar.gz

- name: Upload signature
uses: actions/upload-artifact@v4
with:
name: sigstore_signatures
path: "*.sigstore.json"
Loading