From 500ff6ccfc137e4488ef974fdb564c0aaa572917 Mon Sep 17 00:00:00 2001 From: webadderall <131426131+webadderall@users.noreply.github.com> Date: Mon, 23 Mar 2026 21:49:16 +1100 Subject: [PATCH] fix(ci): make release workflow build tagged ref --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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