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 on: push

View File

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

View File

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

View File

@ -1,16 +1,11 @@
name: Create artifact [linux] name: Create artifact [LINUX]
on: on:
workflow_dispatch: {} workflow_dispatch: {}
jobs: jobs:
release: build:
runs-on: ${{ matrix.os }} runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
steps: steps:
- name: Check out Git repository - name: Check out Git repository
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -20,12 +15,6 @@ jobs:
npm install npm install
npm run build:local 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 - name: Upload Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
@ -33,5 +22,5 @@ jobs:
retention-days: 3 retention-days: 3
path: | path: |
build build
!build/linux-unpacked !build/*-unpacked
!build/.icon-ico !build/.icon-ico

View File

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

View File

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