P2P related quest fixes #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Test Builds pack from pushes and pull requests in same repo. | |
name: "[NOT CALLABLE] Test Build Pack" | |
on: | |
push: | |
branches: | |
- main | |
- test_buildscript* | |
- dev/* | |
paths-ignore: | |
- "README.md" | |
pull_request: | |
paths-ignore: | |
- "README.md" | |
# if a second commit is pushed quickly after the first, cancel the first one's build | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
# Only allow runs from commits to Nomi-CEu Branches or from pull requests from Nomi-CEu repo without dev/ (That is handled by push) | |
if: "${{ github.repository_owner == 'Nomi-CEu' && ( !github.event.pull_request || ( github.event.pull_request.head.repo.owner.login == 'Nomi-CEu' && !startsWith(github.head_ref, 'dev/') ) ) }}" | |
name: Test Build Pack | |
uses: ./.github/workflows/buildpack.yml | |
with: | |
separate_upload: true | |
head_ref: ${{ github.head_ref }} | |
true_sha: ${{ github.event.pull_request.head.sha }} | |
secrets: inherit | |