Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2ecc274

Browse files
committedNov 15, 2024·
Testing Trusted Signing integration
1 parent a3c53e2 commit 2ecc274

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed
 

‎.github/workflows/CI.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on: [push]
44

55
jobs:
66
build:
7+
# disable temporarily
8+
if: false
79
name: Build
810
runs-on: windows-2022
911
steps:

‎.github/workflows/Package.yml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Package
2+
3+
on: [push]
4+
5+
permissions:
6+
id-token: write
7+
contents: read
8+
9+
jobs:
10+
package:
11+
name: Package
12+
runs-on: windows-2022
13+
environment: production
14+
steps:
15+
- name: Azure login
16+
uses: azure/login@v1
17+
with:
18+
client-id: ${{ secrets.AZURE_CLIENT_ID }}
19+
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
20+
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
21+
22+
- name: Sync
23+
uses: actions/checkout@v2
24+
with:
25+
submodules: 'recursive'
26+
27+
- name: Build Release
28+
shell: pwsh
29+
run: ./build_scripts/build.ps1 Release
30+
31+
- name: Sign with Trusted Signing
32+
uses: azure/trusted-signing-action@v0.5.0
33+
with:
34+
endpoint: https://eus.codesigning.azure.net/
35+
trusted-signing-account-name: vscx-codesigning
36+
certificate-profile-name: vscx-certificate-profile
37+
files: ${{ github.workspace }}/build/bin/Release/GUI.exe
38+
file-digest: SHA256
39+
timestamp-rfc3161: http://timestamp.acs.microsoft.com
40+
timestamp-digest: SHA256
41+
exclude-environment-credential: true
42+
exclude-workload-identity-credential: true
43+
exclude-managed-identity-credential: true
44+
exclude-shared-token-cache-credential: true
45+
exclude-visual-studio-credential: true
46+
exclude-visual-studio-code-credential: true
47+
exclude-azure-cli-credential: false
48+
exclude-azure-powershell-credential: true
49+
exclude-azure-developer-cli-credential: true
50+
exclude-interactive-browser-credential: true
51+
52+
- name: Archive Package
53+
uses: actions/upload-artifact@v4
54+
with:
55+
name: D3d12infoGUI - Release
56+
path: ${{ github.workspace }}/build/bin/Release/GUI.exe

0 commit comments

Comments
 (0)
Please sign in to comment.