Created
September 20, 2022 09:09
-
-
Save kierunb/d7f7af9c5fb90ed2b6e5a3ab3a40217c to your computer and use it in GitHub Desktop.
GitHub Action Examples
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: Basics | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| first-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run a one-line script | |
| run: echo Hello, world! | |
| second-job: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo I'm running in parallel job | |
| third-job: | |
| runs-on: ubuntu-latest | |
| needs: first-job | |
| steps: | |
| - run: echo I'm running in sequential job |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment