Skip to content

Commit 4977ab8

Browse files
committed
Enhance GitHub Actions workflow by adding conditional execution for the publish-tauri job based on matrix settings or version tags, improving flexibility in deployment processes.
1 parent 63a7c72 commit 4977ab8

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,11 @@ on:
4141

4242
jobs:
4343
publish-tauri:
44+
if: matrix.enabled || startsWith(github.ref, 'refs/tags/v')
45+
4446
permissions:
4547
contents: write
48+
4649
strategy:
4750
fail-fast: false
4851
matrix:
@@ -76,6 +79,7 @@ jobs:
7679

7780
runs-on: ${{ matrix.platform }}
7881
timeout-minutes: 60
82+
7983
steps:
8084
- name: Checkout Repository
8185
if: ${{ matrix.enabled }}

0 commit comments

Comments
 (0)