Skip to content

Commit 95f7d21

Browse files
committed
Fix windows attestation
1 parent 6ec517a commit 95f7d21

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and Release
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [ master, bug/ci-windows-attestation ]
66
tags:
77
- "v*"
88

@@ -48,18 +48,18 @@ jobs:
4848
strategy:
4949
matrix:
5050
include:
51-
- target: x86_64-unknown-linux-gnu
52-
os: ubuntu-latest
53-
name: xsnippet-api-x86_64-linux.gz
54-
- target: aarch64-unknown-linux-gnu
55-
os: ubuntu-latest
56-
name: xsnippet-api-aarch64-linux.gz
51+
# - target: x86_64-unknown-linux-gnu
52+
# os: ubuntu-latest
53+
# name: xsnippet-api-x86_64-linux.gz
54+
# - target: aarch64-unknown-linux-gnu
55+
# os: ubuntu-latest
56+
# name: xsnippet-api-aarch64-linux.gz
5757
- target: x86_64-pc-windows-msvc
5858
os: windows-latest
5959
name: xsnippet-api-x86_64-windows.exe.7z
60-
- target: aarch64-apple-darwin
61-
os: macos-latest
62-
name: xsnippet-api-aarch64-macos.gz
60+
# - target: aarch64-apple-darwin
61+
# os: macos-latest
62+
# name: xsnippet-api-aarch64-macos.gz
6363

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

@@ -101,6 +101,12 @@ jobs:
101101
TARGET: ${{ matrix.target }}
102102
RELEASE_TAG: ${{ needs.create_release.outputs.release_tag }}
103103

104+
- uses: mxschmitt/action-tmate@v3
105+
with:
106+
limit-access-to-actor: false
107+
env:
108+
ASSET_PATH: ${{ steps.build.outputs.asset_path }}
109+
104110
- uses: actions/attest-build-provenance@v1
105111
with:
106112
subject-path: ${{ steps.build.outputs.asset_path }}

0 commit comments

Comments
 (0)