add release channel setting and implementation

This commit is contained in:
jeffvli 2025-10-11 15:05:29 -07:00
parent f14d1f3c5c
commit 4d12a4d6cb
7 changed files with 104 additions and 56 deletions

View file

@ -52,58 +52,58 @@ jobs:
Write-Host "Updated package.json version to: $newVersion"
# - name: Build and Publish releases (Windows)
# if: matrix.os == 'windows-latest'
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# uses: nick-invision/retry@v2.8.2
# with:
# timeout_minutes: 30
# max_attempts: 3
# retry_on: error
# command: |
# pnpm run package:win
# pnpm run publish:win
# on_retry_command: pnpm cache delete
- name: Build and Publish releases (Windows)
if: matrix.os == 'windows-latest'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: nick-invision/retry@v2.8.2
with:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
pnpm run package:win
pnpm run publish:win
on_retry_command: pnpm cache delete
# - name: Build and Publish releases (macOS)
# if: matrix.os == 'macos-latest'
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# uses: nick-invision/retry@v2.8.2
# with:
# timeout_minutes: 30
# max_attempts: 3
# retry_on: error
# command: |
# pnpm run package:mac
# pnpm run publish:mac
# on_retry_command: pnpm cache delete
- name: Build and Publish releases (macOS)
if: matrix.os == 'macos-latest'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: nick-invision/retry@v2.8.2
with:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
pnpm run package:mac
pnpm run publish:mac
on_retry_command: pnpm cache delete
# - name: Build and Publish releases (Linux)
# if: matrix.os == 'ubuntu-latest'
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# uses: nick-invision/retry@v2.8.2
# with:
# timeout_minutes: 30
# max_attempts: 3
# retry_on: error
# command: |
# pnpm run package:linux
# pnpm run publish:linux
# on_retry_command: pnpm cache delete
- name: Build and Publish releases (Linux)
if: matrix.os == 'ubuntu-latest'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: nick-invision/retry@v2.8.2
with:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
pnpm run package:linux
pnpm run publish:linux
on_retry_command: pnpm cache delete
# - name: Build and Publish releases (Linux ARM64)
# if: matrix.os == 'ubuntu-latest'
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# uses: nick-invision/retry@v2.8.2
# with:
# timeout_minutes: 30
# max_attempts: 3
# retry_on: error
# command: |
# pnpm run package:linux-arm64
# pnpm run publish:linux-arm64
# on_retry_command: pnpm cache delete
- name: Build and Publish releases (Linux ARM64)
if: matrix.os == 'ubuntu-latest'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: nick-invision/retry@v2.8.2
with:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
pnpm run package:linux-arm64
pnpm run publish:linux-arm64
on_retry_command: pnpm cache delete