mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 13:30:02 +00:00
Update build.yml
This commit is contained in:
parent
2c31eece7c
commit
7d42a02040
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -312,7 +312,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Code signing with Software Trust Manager
|
- name: Code signing with Software Trust Manager
|
||||||
uses: digicert/ssm-code-signing@v1.0.0
|
uses: digicert/ssm-code-signing@v1.0.0
|
||||||
if: github.event_name == 'push' && (github.ref_protected || startsWith(github.ref, 'refs/tags'))
|
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags'))
|
||||||
|
|
||||||
- name: Installing Node
|
- name: Installing Node
|
||||||
uses: actions/setup-node@v3.7.0
|
uses: actions/setup-node@v3.7.0
|
||||||
@ -338,7 +338,7 @@ jobs:
|
|||||||
ARCH: ${{matrix.arch}}
|
ARCH: ${{matrix.arch}}
|
||||||
|
|
||||||
- name: Decode certificate
|
- name: Decode certificate
|
||||||
if: github.event_name == 'push' && (github.ref_protected || startsWith(github.ref, 'refs/tags'))
|
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags'))
|
||||||
env:
|
env:
|
||||||
SM_CLIENT_CERT_FILE_B64: ${{ secrets.SM_CLIENT_CERT_FILE_B64 }}
|
SM_CLIENT_CERT_FILE_B64: ${{ secrets.SM_CLIENT_CERT_FILE_B64 }}
|
||||||
run: |
|
run: |
|
||||||
@ -348,7 +348,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Build and sign packages
|
- name: Build and sign packages
|
||||||
if: github.event_name == 'push' && (github.ref_protected || startsWith(github.ref, 'refs/tags'))
|
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags'))
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
Get-FileHash $env:SM_CLIENT_CERT_FILE -Algorithm MD5
|
Get-FileHash $env:SM_CLIENT_CERT_FILE -Algorithm MD5
|
||||||
@ -378,7 +378,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build packages without signing
|
- name: Build packages without signing
|
||||||
run: node scripts/build-windows.mjs
|
run: node scripts/build-windows.mjs
|
||||||
if: "! (github.event_name == 'push' && (github.ref_protected || startsWith(github.ref, 'refs/tags')))"
|
if: "! (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags')))"
|
||||||
env:
|
env:
|
||||||
ARCH: ${{matrix.arch}}
|
ARCH: ${{matrix.arch}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user