Skip to content

Commit

Permalink
Merge pull request #5 from pandaninjas/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyvest authored May 22, 2024
2 parents 329747b + 2f07885 commit 23f916c
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/neutralino-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build neutralino binaries

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Get npm cache directory
id: npm-cache-dir
run: |
echo "::set-output name=dir::$(npm config get cache)"
- uses: actions/cache@v3
id: npm-cache
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm i -g @neutralinojs/neu
if: steps.npm-cache.outputs.cache-hit != 'true'
- run: neu update
- run: neu build
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.1
with:
name: Mart-build
path: dist/Mart/*

0 comments on commit 23f916c

Please sign in to comment.