Skip to content

Commit

Permalink
Use a release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper Aikema committed Sep 12, 2024
1 parent 6c580b1 commit e309f8f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,9 @@

name: Create Package

#on:
# release:
# types: [created]
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
release:
types: [created]

jobs:
build:
Expand All @@ -40,5 +35,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/heads/release/')
with:
tag_name: ${{steps.previous_tag.outputs.tag}}
files: salt-plugin.zip

0 comments on commit e309f8f

Please sign in to comment.