chore(workflows): update build and docker workflows to enable tag-based triggers and refine build steps for Electron and Docker images
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
name: Build and Release
|
name: Build and Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# tags:
|
tags:
|
||||||
# - "*"
|
- "*"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
@@ -88,8 +88,11 @@ jobs:
|
|||||||
- name: Build Python wheel
|
- name: Build Python wheel
|
||||||
run: task wheel
|
run: task wheel
|
||||||
|
|
||||||
- name: Build Electron Apps (Linux and Windows)
|
- name: Build Electron App (Linux)
|
||||||
run: task build-electron-all
|
run: pnpm run dist:linux
|
||||||
|
|
||||||
|
- name: Build Electron App (Windows)
|
||||||
|
run: pnpm run dist:windows
|
||||||
|
|
||||||
- name: Prepare release assets
|
- name: Prepare release assets
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- "*"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: git.quad4.io
|
REGISTRY: git.quad4.io
|
||||||
@@ -63,4 +63,3 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user