Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunkLightTuna authored Dec 13, 2023
1 parent db2e9f0 commit 0bd338a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ env:
on:
release:
types: [published]
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
build:
Expand All @@ -15,6 +18,10 @@ jobs:
contents: write

steps:
- name: Exit if not on main branch
if: endsWith(github.event.base_ref, 'main') == false
run: exit -1

- name: Checkout Repository
uses: actions/checkout@v4

Expand Down

0 comments on commit 0bd338a

Please sign in to comment.