ci: fix linux upload artifacts github action [skip ci]

This commit is contained in:
Fabio Di Stasio 2022-06-12 19:58:22 +02:00
parent e754877ee6
commit c37138c6f5
6 changed files with 9 additions and 20 deletions

View File

@ -1,4 +1,4 @@
name: Build/release [linux]
name: Build/release [LINUX]
on: push

View File

@ -1,4 +1,4 @@
name: Build/release [mac]
name: Build/release [MAC]
on: push

View File

@ -1,4 +1,4 @@
name: Build/release [windows]
name: Build/release [WINDOWS]
on: push

View File

@ -1,16 +1,11 @@
name: Create artifact [linux]
name: Create artifact [LINUX]
on:
workflow_dispatch: {}
jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
@ -20,12 +15,6 @@ jobs:
npm install
npm run build:local
- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
github_token: ${{ secrets.github_token }}
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
@ -33,5 +22,5 @@ jobs:
retention-days: 3
path: |
build
!build/linux-unpacked
!build/*-unpacked
!build/.icon-ico

View File

@ -1,4 +1,4 @@
name: Test end-to-end [linux]
name: Test end-to-end [LINUX]
on: push

View File

@ -13,7 +13,7 @@
"compile:workers": "webpack --mode=production --config webpack.workers.config.js",
"compile:renderer": "webpack --mode=production --config webpack.renderer.config.js",
"build": "cross-env NODE_ENV=production npm run compile",
"build:local": "npm run build && electron-builder",
"build:local": "npm run build && electron-builder --publish never",
"build:appx": "npm run build:local -- --win appx",
"rebuild:electron": "rimraf ./dist && npm run postinstall",
"release": "standard-version",