build(deps): bump Microsoft.AspNetCore.OpenApi in /tests/DemoApi.Tests #33
This file contains hidden or 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: Workflow with needs on jobs | |
| on: [push] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fake build | |
| run: echo "Build" | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Test | |
| run: | | |
| sleep 30 | |
| echo "Running tests..." && false | |
| publish-artifact: | |
| runs-on: ubuntu-latest | |
| needs: [ build, test ] | |
| steps: | |
| - name: Upload build artifact | |
| run: echo "Fake upload" | |
| create-release: | |
| runs-on: ubuntu-latest | |
| needs: [publish-artifact] | |
| steps: | |
| - name: Create release | |
| run: echo "Creating release..." |