History

Add checkout and Node setup to updater publish workflow job (#605)

- Ensure the updater publish job checks out the target ref - Initialize Node using the repository's package.json version file before downloading artifacts

Theo Browne committed 8 months agov0.0.7

Commit 39f65701 parent b7f954a1 file · +10 −0Browse files

Showing the changes to .github (1 of 1 file). Show all

Unified · Split

.github/workflows/release.yml+10−0
@@ -255,6 +255,16 @@ jobs: · 254 unmodified lines
255255 needs: [preflight, build, publish_cli]
256256 runs-on: ubuntu-24.04
257257 steps:
258+ - name: Checkout
259+ uses: actions/checkout@v4
260+ with:
261+ ref: ${{ needs.preflight.outputs.ref }}
262+
263+ - name: Setup Node
264+ uses: actions/setup-node@v4
265+ with:
266+ node-version-file: package.json
267+
258268 - name: Download all desktop artifacts
259269 uses: actions/download-artifact@v4
260270 with: