Skip to content

Create polished demo videos without editing skills. Mac/Windows/Linux

fix(ci): make release workflow build tagged ref

webadderall5948ed1d6a07
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 254352d7..eb51a366 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -31,6 +31,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
+ with:
+ ref: ${{ github.event.inputs.tag_name }}
- name: Setup Node.js
uses: actions/setup-node@v4
@@ -38,6 +40,11 @@ jobs:
node-version: 22
cache: npm
+ - name: Setup Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: '3.11'
+
- name: Install dependencies
run: npm ci
@@ -67,6 +74,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
+ with:
+ ref: ${{ github.event.inputs.tag_name }}
- name: Setup Node.js
uses: actions/setup-node@v4
@@ -74,6 +83,11 @@ jobs:
node-version: 22
cache: npm
+ - name: Setup Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: '3.11'
+
- name: Install dependencies
run: npm ci
@@ -103,6 +117,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
+ with:
+ ref: ${{ github.event.inputs.tag_name }}
- name: Setup Node.js
uses: actions/setup-node@v4
@@ -110,6 +126,11 @@ jobs:
node-version: 22
cache: npm
+ - name: Setup Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: '3.11'
+
- name: Install dependencies
run: npm ci
@@ -138,6 +159,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
+ with:
+ ref: ${{ github.event.inputs.tag_name }}
- name: Setup Node.js
uses: actions/setup-node@v4
@@ -145,6 +168,11 @@ jobs:
node-version: 22
cache: npm
+ - name: Setup Python
+ uses: actions/setup-python@v5
+ with:
+ python-version: '3.11'
+
- name: Install dependencies
run: npm ci