0
0
mirror of https://github.com/ok-oldking/ok-wuthering-waves.git synced 2025-04-24 08:25:16 +00:00

test signpath test cert

This commit is contained in:
firedcto@gmail.com 2025-04-01 21:44:34 +08:00
parent b9694f1d34
commit 8890039b91
2 changed files with 32 additions and 6 deletions

View File

@ -91,6 +91,28 @@ jobs:
cd ..
cp src-win-launcher/x64/Release/ok-ww.exe .
- name: upload-unsigned-artifact
id: upload-unsigned-artifact
uses: actions/upload-artifact@v4
with:
name: to-sign
path: |
ok-ww.exe
ok/
src/
- name : sign OK-EXE
uses: signpath/github-action-submit-signing-request@v1.1
with:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '639bc6dd-9623-43cd-ac75-50a445898012'
project-slug: 'ok-wuthering-waves'
signing-policy-slug: 'test-signing'
artifact-configuration-slug: "zip"
github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
wait-for-completion: true
output-artifact-directory: '.'
- name: Build Executable
run: |
echo "tag: ${{ steps.changes.outputs.tag }}"
@ -110,7 +132,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: |
ok-ww-CPU-full (AMD or other GPUs)
ok-ww
Updates
${{ steps.changes.outputs.changes }}
draft: false

View File

@ -3,8 +3,8 @@ name: Test SignPath
on:
push:
# Sequence of patterns matched against refs/tags
branches:
- '*'
tags:
- 't*'
jobs:
build:
name: Build exe with launcher
@ -27,13 +27,17 @@ jobs:
cd src-win-launcher
msbuild ok-launcher.sln /p:Configuration=Release
cd ..
cp src-win-launcher/x64/Release/ok-ww.exe .
- name: upload-unsigned-artifact
id: upload-unsigned-artifact
uses: actions/upload-artifact@v4
with:
name: ok-ww.exe
path: src-win-launcher/x64/Release/ok-ww.exe
name: to-sign
path: |
ok-ww.exe
ok/
src/
- name : sign OK-EXE
uses: signpath/github-action-submit-signing-request@v1.1
@ -42,7 +46,7 @@ jobs:
organization-id: '639bc6dd-9623-43cd-ac75-50a445898012'
project-slug: 'ok-wuthering-waves'
signing-policy-slug: 'test-signing'
artifact-configuration-slug: "single-exe"
artifact-configuration-slug: "zip"
github-artifact-id: '${{ steps.upload-unsigned-artifact.outputs.artifact-id }}'
wait-for-completion: true
output-artifact-directory: '.'