Skip to content

Commit

Permalink
Only do release workflow on tags
Browse files Browse the repository at this point in the history
  • Loading branch information
telephono committed Aug 23, 2024
1 parent 9d79ee7 commit 5d9379e
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Create Release

on:
push:
# tags:
# - 'v*'
tags:
- 'v*.*.*'

permissions:
contents: write
Expand All @@ -15,10 +15,6 @@ jobs:
steps:
- uses: actions/checkout@v4

# - uses: actions/setup-node@v4
# with:
# node-version: '14'

- name: Create ZIP archive
env:
tag_name: ${{ github.ref_name }}
Expand All @@ -28,9 +24,6 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
env:
tag_name: ${{ github.ref_name }}
with:
draft: true
files: |
archive/*.zip
files: archive/*.zip

0 comments on commit 5d9379e

Please sign in to comment.