mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-06 20:10:12 +02:00
36 lines
911 B
YAML
36 lines
911 B
YAML
name: Publish Windows (Manual)
|
|
|
|
on: workflow_dispatch
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [windows-latest]
|
|
|
|
steps:
|
|
- name: Checkout git repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Node and PNPM
|
|
uses: pnpm/action-setup@v4.4.0
|
|
with:
|
|
version: 9
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: Build and Publish releases
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
uses: nick-invision/retry@v3.0.2
|
|
with:
|
|
timeout_minutes: 30
|
|
max_attempts: 3
|
|
retry_on: error
|
|
command: |
|
|
pnpm run publish:win
|
|
on_retry_command: pnpm cache delete
|