mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
move win certificate on composite action
This commit is contained in:
parent
42cafd353c
commit
9cb8fa34b1
19
.github/actions/0_setup/action.yml
vendored
19
.github/actions/0_setup/action.yml
vendored
@ -9,6 +9,14 @@ inputs:
|
||||
mac-certificate-pssw:
|
||||
description: 'MacOS Certificate Password'
|
||||
required: false
|
||||
win-certificate:
|
||||
description: 'Windows Certificate'
|
||||
required: false
|
||||
default: ''
|
||||
qt-version:
|
||||
description: 'Qt Version'
|
||||
required: false
|
||||
default: '5.15.2'
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@ -21,3 +29,14 @@ runs:
|
||||
with:
|
||||
p12-file-base64: ${{ inputs.mac-certificate }}
|
||||
p12-password: ${{ inputs.mac-certificate-pssw }}
|
||||
- name: Set CodeSign Certificate Windows
|
||||
if: ${{ runner.os == 'Windows' && inputs.win-certificate != '' }}
|
||||
run: |
|
||||
New-Item -ItemType directory -Path certificate
|
||||
Set-Content -Path certificate\certificate.txt -Value '${{ inputs.win-certificate }}'
|
||||
certutil -decode certificate\certificate.txt certificate\certificate.pfx
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
cache: true
|
||||
version: ${{ inputs.qt-version }}
|
||||
|
||||
12
.github/workflows/BuildMeshLab.yml
vendored
12
.github/workflows/BuildMeshLab.yml
vendored
@ -27,17 +27,7 @@ jobs:
|
||||
with:
|
||||
mac-certificate: ${{ secrets.MACOS_CERTIFICATE }}
|
||||
mac-certificate-pssw: ${{ secrets.MACOS_CERTIFICATE_PSSW }}
|
||||
- name: Set CodeSign Certificate Windows
|
||||
if: runner.os == 'Windows' && env.WIN_CERT != null
|
||||
run: |
|
||||
New-Item -ItemType directory -Path certificate
|
||||
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.WIN_CERTIFICATE }}'
|
||||
certutil -decode certificate\certificate.txt certificate\certificate.pfx
|
||||
- name: Install Qt
|
||||
uses: jurplel/install-qt-action@v3
|
||||
with:
|
||||
cache: true
|
||||
version: ${{ env.QT_VERSION }}
|
||||
win-certificate: ${{ secrets.WIN_CERTIFICATE }}
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user