Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sipsuru authored Nov 15, 2024
1 parent a559dba commit 801c2f8
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: WPDL-Electron Build Artifacts - Linux

on:
workflow_dispatch:

env:
NODE_JS_VERSION: 23.1.0

jobs:
test:
name: Build artifacts for ubuntu-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_JS_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_JS_VERSION }}
cache: 'npm'
- run: npm install

- name: Install Snapcraft for Linux
uses: samuelmeuli/action-snapcraft@v3

- name: Build Linux
run: npm run build:linux

- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
dist/*.msi
dist/*.zip
dist/*.7z
dist/*.AppImage
dist/*.deb
dist/*.rpm
dist/*.tar.gz
dist/*.yml
dist/*.blockmap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 801c2f8

Please sign in to comment.