Skip to content

change version information and README #11

change version information and README

change version information and README #11

Workflow file for this run

name: Build/release
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- name: Install Depentent
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install -y npm fakeroot
- name: Check out Git repository
uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v4
with:
node-version: 16
# step3: npm install
- name: npm install
run: |
npm install
# step4: build app
- name: build app
run: |
npm run package
# step5: cleanup artifacts in dist_electron
- name: cleanup artifacts
run: |
npx rimraf "out/!(*.exe|*.dmg|*.deb|*.rpm)"
# step6: upload artifacts
- name: upload artifacts
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}
path: 'out/make'
# step7: create release
- name: release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: "out/make/**"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}