Files
starter-workflows/ci/blank.yml
T

34 lines
1.0 KiB
YAML
Raw Normal View History

2020-02-20 13:59:00 -05:00
# This is a basic workflow to help you get started with Actions
2019-08-06 16:37:30 -07:00
name: CI
2020-02-20 13:59:00 -05:00
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
2020-02-12 13:26:01 -05:00
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
2019-07-29 09:38:23 -07:00
2020-02-20 13:59:00 -05:00
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2019-07-29 09:38:23 -07:00
jobs:
2020-02-20 13:59:00 -05:00
# This workflow contains a single job called "build"
2019-08-06 16:37:30 -07:00
build:
2020-02-20 13:59:00 -05:00
# The type of runner that the job will run on
2019-07-29 09:38:23 -07:00
runs-on: ubuntu-latest
2019-10-16 12:40:14 -07:00
2020-02-20 13:59:00 -05:00
# Steps represent a sequence of tasks that will be executed as part of the job
2019-07-29 09:38:23 -07:00
steps:
2020-02-20 13:59:00 -05:00
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2019-12-24 14:22:22 -08:00
- uses: actions/checkout@v2
2020-02-20 13:59:00 -05:00
# Runs a single command using the runners shell
2019-07-29 09:38:23 -07:00
- name: Run a one-line script
run: echo Hello, world!
2020-02-20 13:59:00 -05:00
# Runs a set of commands using the runners shell
2019-07-29 09:38:23 -07:00
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.