Update sign.yml for windows runner

master
Beq Janus 2025-01-22 01:59:36 +00:00 committed by GitHub
parent fb25a8cead
commit cd8482bd74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 11 deletions

View File

@ -6,14 +6,14 @@ on:
build_run_number:
description: 'GitHub Run Number (per build_viewer.yml workflow)'
required: true
policy:
description: 'Policy to sign binaries'
required: true
type: choice
default: "Test"
options:
- "Test"
- "Release"
# policy:
# description: 'Policy to sign binaries'
# required: true
# type: choice
# default: "Test"
# options:
# - "Test"
# - "Release"
# viewer_version:
# description: 'viewer version not including build'
# required: true
@ -33,7 +33,7 @@ on:
jobs:
find-setup-files:
runs-on: ubuntu-latest
runs-on: windows-latest
permissions:
actions: read
contents: read
@ -83,6 +83,7 @@ jobs:
curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts
shell: bash
- name: Download Setup.exe Files Artifact
uses: actions/download-artifact@v4
@ -93,6 +94,7 @@ jobs:
run: |
mkdir -p to_sign
cp "setup_exe_files/${{ matrix.file }}" to_sign/
shell: bash
# - name: Upload unsigned artifact
# id: upload-unsigned-artifact
# uses: actions/upload-artifact@v4
@ -123,7 +125,7 @@ jobs:
certificate-profile-name: ${{ secrets.AZURE_CERT_PROFILE_NAME }}
# Sign all exes inside the folder
files-folder: to_sign
files-folder: ${{ github.workspace }}\to_sign
files-folder-filter: exe
# - name: Upload signed artifact
@ -137,4 +139,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: unsigned-artifact-${{ matrix.file }}
path: to_sign/${{ matrix.file }}
path: to_sign\${{ matrix.file }}