Add build.yml

This commit is contained in:
Gregory John Casamento 2021-07-10 08:45:12 -04:00
parent 378c326033
commit 154d24480e
2 changed files with 5 additions and 24 deletions

View file

@ -4,11 +4,9 @@ name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Triggers the workflow on push or pull request events for all branches
push
pull_request
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@ -26,8 +24,8 @@ jobs:
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
- name: show the repo
run: ls -ltr
# Runs a set of commands using the runners shell
- name: Run a multi-line script

View file

@ -1,17 +0,0 @@
name: GitHub Actions Demo
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v2
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."