fix(Solution): Minor fix to properly trigger CI/CD #30
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: Continuous integration | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- '.github/**' | |
- '**/*.md' | |
- 'assets/**' | |
- 'deployments/**' | |
workflow_dispatch: | |
jobs: | |
test: | |
# Skip if it's not running in the main branch of the `neuroglia-io/hylo` repo | |
if: github.repository == 'neuroglia-io/hylo' && github.ref_name == 'main' | |
uses: ./.github/workflows/test-dotnet.yml | |
secrets: inherit | |
versioning: | |
needs: [test] | |
#if: github.repository == 'neuroglia-io/hylo' && github.ref_name == 'main' # comment if test are turned on | |
uses: ./.github/workflows/versioning.yml | |
secrets: inherit | |
build: | |
needs: [versioning] | |
uses: ./.github/workflows/build-dotnet.yml | |
secrets: inherit | |
release: | |
needs: [build] | |
uses: ./.github/workflows/release.yml | |
secrets: inherit |