Skip to content

Commit

Permalink
ci: fix linux upload artifacts github action [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Jun 12, 2022
1 parent e754877 commit c37138c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build/release [linux]
name: Build/release [LINUX]

on: push

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-mac.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build/release [mac]
name: Build/release [MAC]

on: push

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-win.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build/release [windows]
name: Build/release [WINDOWS]

on: push

Expand Down
19 changes: 4 additions & 15 deletions .github/workflows/create-artifact-linux.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -20,18 +15,12 @@ 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:
name: linux-build
retention-days: 3
path: |
build
!build/linux-unpacked
!build/*-unpacked
!build/.icon-ico
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-linux.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test end-to-end [linux]
name: Test end-to-end [LINUX]

on: push

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit c37138c

Please sign in to comment.