Skip to content

Commit

Permalink
Trigger only on tag
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil <[email protected]>
  • Loading branch information
kokamkarsahil committed May 2, 2023
1 parent 6e08236 commit cc4dd2e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Release
on: [push]
on:
push:
branches:
- main
tags:
- v*

jobs:
build:
Expand Down Expand Up @@ -34,7 +39,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.sha }}
tag_name: ${{ github.ref }}
release_name: Wasm Edge Build Files
draft: false
prerelease: false
Expand Down

0 comments on commit cc4dd2e

Please sign in to comment.