mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-05-11 18:10:49 +08:00
remove win builder
This commit is contained in:
48
.github/workflows/build-windows.yml
vendored
48
.github/workflows/build-windows.yml
vendored
@@ -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 }}
|
||||
Reference in New Issue
Block a user