Skip to content

Commit

Permalink
Add tag-based trigger for publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
krokosik committed Feb 3, 2025
1 parent 3513798 commit 4ca46df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: 'publish'

on:
workflow_dispatch:
push:
tags:
- "v*.*.*"

jobs:
publish-tauri:
Expand Down Expand Up @@ -45,6 +48,7 @@ jobs:
run: npm ci

- uses: tauri-apps/tauri-action@v0
if: startsWith(github.ref, 'refs/tags/v')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }}
Expand Down

0 comments on commit 4ca46df

Please sign in to comment.