Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontesque authored Feb 29, 2024
1 parent c1d60da commit ac3bdf6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build
on:
workflow_dispatch:
push:
branches:
- vue3

env:
NODE_VERSION: 20

jobs:
windows:
name: "Build SCRCPY+ for Windows"
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VERSION }}
- name: Install dependencies
run: npm i
working-directory: app
- name: Build
run: npm run electron:build
working-directory: app
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: windows
path: electron_dist

0 comments on commit ac3bdf6

Please sign in to comment.