Merge pull request #18 from oblivioncth/reusable_workflows #5
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
name: Build Project | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- 'master' | |
workflow_run: | |
workflows: Tag and Sync | |
types: completed | |
branches: dev | |
# This is the branch that the original workflow ran on, which is technically dev, due to how | |
# the "pull_request" trigger works (it works off master correctly for a merged PR but is triggered | |
# by dev | |
jobs: | |
trigger-build: | |
name: Build Project | |
if: github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' | |
uses: oblivioncth/actions/.github/workflows/build-cxx-project.yml@v1 | |
secrets: | |
ffynnon_access: ${{ secrets.OBYBOT_FFYNNON_ACCESS }} | |
with: | |
runs_exclude: > | |
[ | |
{ "compiler": "g++-10" } | |
] |