Skip to content

Commit

Permalink
github actions change
Browse files Browse the repository at this point in the history
  • Loading branch information
git committed Oct 1, 2024
1 parent c7a797a commit 767a4a6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Build

on:
push:
branches:
- main

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
matrix:
include:
# - os: ubuntu-latest
# arch: [arm64, amd64]
- os: macos-latest
arch: [arm64, amd64]
- os: windows-latest
arch: [arm64, amd64]

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Install Dependencies
run: npm install

- name: Build Release Files
run: npm run build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
path: dist-release/*.(exe|dmg|AppImage|deb)

File renamed without changes.

0 comments on commit 767a4a6

Please sign in to comment.