Skip to content

Commit

Permalink
change push conditions to require a tag AND master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Samkeer1 committed Apr 19, 2024
1 parent e5f4fba commit 2c37db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: Publish
on:
push:
tags: [ 'v*.*.*' ]
branches: master

env:
OTP_VERSION_SPEC: "21.1"
Expand All @@ -14,6 +13,7 @@ jobs:
uses: ./.github/workflows/test.yml
publish:
needs: test
if: ${{ github.ref_name == 'master' }}
runs-on: ubuntu-20.04
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 2c37db9

Please sign in to comment.