Skip to content

Commit 5b2ea0e

Browse files
author
{your_name}
committed
Update
1 parent 35e6a5c commit 5b2ea0e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: .github/workflows/build.yml

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ on:
1515
- '!scripts/merge-channel-files.js'
1616
- 'static/**'
1717
- '*.md'
18+
tags:
19+
- '[0-9]+.[0-9]+.[0-9]+*'
1820
workflow_dispatch:
1921
inputs:
2022
paid-runners:
@@ -298,6 +300,7 @@ jobs:
298300
IS_WINDOWS_CONFIG: ${{ matrix.config.name == 'Windows' }}
299301
INSTALLER_CERT_WINDOWS_CER: "/tmp/cert.cer"
300302
# We are hardcoding the path for signtool because it is not present on the Windows PATH env var by default.
303+
# Keep in mind that this path could change when upgrading to a new runner version
301304
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/signtool.exe"
302305
WIN_CERT_PASSWORD: ${{ secrets[matrix.config.certificate-password-secret] }}
303306
WIN_CERT_CONTAINER_NAME: ${{ secrets[matrix.config.certificate-container] }}
@@ -334,6 +337,8 @@ jobs:
334337
with:
335338
node-version: ${{ env.NODE_VERSION }}
336339
registry-url: 'https://registry.npmjs.org'
340+
# Yarn is a prerequisite for the action's cache feature, so caching should be disabled when running in the
341+
# container where Yarn is not pre-installed.
337342
cache: ${{ fromJSON(matrix.config.container) == null && 'yarn' || null }}
338343

339344
- name: Install Yarn

0 commit comments

Comments
 (0)