Skip to content

Commit

Permalink
wip unified in 1 build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Apr 19, 2024
1 parent b48e250 commit fbd0f0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# name: Pull request
# name: build
on:
pull_request:
push:

permissions:
contents: write # so it can comment
Expand All @@ -14,5 +15,7 @@ jobs:

build-release:
if: |
contains(github.event.pull_request.labels.*.name, 'build-release')
contains(github.event.pull_request.labels.*.name, 'build-release') ||
github.event.pull_request.head.ref == 'main' ||
startsWith(github.event.pull_request.head.ref, 'release_')
uses: ./.github/workflows/build-all-release.yml
19 changes: 0 additions & 19 deletions .github/workflows/on-push-main-or-release.yml

This file was deleted.

0 comments on commit fbd0f0c

Please sign in to comment.