Skip to content

Commit

Permalink
fix(ci): only run for 2.10, only release tagged commits
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed Oct 13, 2024
1 parent baa0bd6 commit fb18a87
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/buildcdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,16 @@ name: Build Releases
on:
push:
branches:
- master
- 2.10
paths-ignore:
- "**/README.md"
tags:
- v*
pull_request:
branches:
- master
- 2.10
paths-ignore:
- "**/README.md"
tags:
- v*

workflow_dispatch:

jobs:
Expand All @@ -36,7 +33,7 @@ jobs:
sdcard.json
upload-release:
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v')
needs: build-artifact
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit fb18a87

Please sign in to comment.