Skip to content

Commit

Permalink
Fix windows attestation
Browse files Browse the repository at this point in the history
  • Loading branch information
ikalnytskyi committed Nov 25, 2024
1 parent 6ec517a commit 2053c22
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build and Release

on:
push:
branches: [ master ]
branches: [ master, bug/ci-windows-attestation ]
tags:
- "v*"

Expand Down Expand Up @@ -48,18 +48,18 @@ jobs:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
name: xsnippet-api-x86_64-linux.gz
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
name: xsnippet-api-aarch64-linux.gz
# - target: x86_64-unknown-linux-gnu
# os: ubuntu-latest
# name: xsnippet-api-x86_64-linux.gz
# - target: aarch64-unknown-linux-gnu
# os: ubuntu-latest
# name: xsnippet-api-aarch64-linux.gz
- target: x86_64-pc-windows-msvc
os: windows-latest
name: xsnippet-api-x86_64-windows.exe.7z
- target: aarch64-apple-darwin
os: macos-latest
name: xsnippet-api-aarch64-macos.gz
# - target: aarch64-apple-darwin
# os: macos-latest
# name: xsnippet-api-aarch64-macos.gz

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -101,6 +101,10 @@ jobs:
TARGET: ${{ matrix.target }}
RELEASE_TAG: ${{ needs.create_release.outputs.release_tag }}

- uses: mxschmitt/action-tmate@v3
env:
ASSET_PATH: ${{ steps.build.outputs.asset_path }}

- uses: actions/attest-build-provenance@v1
with:
subject-path: ${{ steps.build.outputs.asset_path }}

0 comments on commit 2053c22

Please sign in to comment.