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
|
||||
|
||||
on:
|
||||
# push:
|
||||
# tags:
|
||||
# - "*"
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
@@ -88,8 +88,11 @@ jobs:
|
||||
- name: Build Python wheel
|
||||
run: task wheel
|
||||
|
||||
- name: Build Electron Apps (Linux and Windows)
|
||||
run: task build-electron-all
|
||||
- name: Build Electron App (Linux)
|
||||
run: pnpm run dist:linux
|
||||
|
||||
- name: Build Electron App (Windows)
|
||||
run: pnpm run dist:windows
|
||||
|
||||
- name: Prepare release assets
|
||||
run: |
|
||||
|
||||
@@ -4,7 +4,7 @@ on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
- "*"
|
||||
|
||||
env:
|
||||
REGISTRY: git.quad4.io
|
||||
@@ -63,4 +63,3 @@ jobs:
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user