Skip to content

Commit

Permalink
Only update the release if a tag was pushed
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Nov 3, 2023
1 parent 5e2e050 commit 963f957
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build Artifacts

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
branches:
- main
pull_request:
Expand Down Expand Up @@ -115,6 +113,7 @@ jobs:
release:
name: Release Build
needs: [ windows, macos, linux-x86_64, linux-aarch64, android, ios, tvos, test-linux-x86_64 ]
if: "${{ startsWith(github.ref, 'refs/tags/v') }}"
runs-on: ubuntu-latest
steps:
- name: Check Out Source
Expand Down

0 comments on commit 963f957

Please sign in to comment.