Skip to content

Commit

Permalink
other
Browse files Browse the repository at this point in the history
  • Loading branch information
getzze committed Nov 12, 2024
1 parent 4cb8c14 commit 90cbab4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Publish

on:
push:
branches:
- main
tags:
- '*'
release:
Expand Down Expand Up @@ -34,9 +32,7 @@ jobs:
name: Make a GitHub Release
needs: [build-package]
# only publish a Github release on push tag
if: |
github.event_name == 'push'
&& startsWith(github.ref, 'refs/tags/')
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest

permissions:
Expand Down

0 comments on commit 90cbab4

Please sign in to comment.