remove win builder

This commit is contained in:
jxxghp
2023-10-10 08:09:29 +08:00
parent 46e8fa551c
commit 8a95549118

View File

@@ -1,48 +0,0 @@
name: Build Moviepilot-Frontend Windows
on:
workflow_dispatch:
push:
branches:
- main
paths:
- package.json
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Release version
id: release_version
run: |
$frontend_version = (Get-Content package.json | ConvertFrom-Json).version
Add-Content -Path $env:GITHUB_ENV -Value "frontend_version=v$frontend_version"
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Build frontend
id: build_frontend
run: |
yarn
yarn build
npm i -g pkg
yarn pkg
- name: Generate Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.frontend_version }}-win
name: ${{ env.frontend_version }}-win
draft: false
prerelease: false
files: |
MoviePilot-Frontend.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}