From 03020c51d72f8a232346b0bcd0ffa307f8d4a9e1 Mon Sep 17 00:00:00 2001 From: Bobby de Vos Date: Fri, 6 May 2022 10:43:24 -0600 Subject: [PATCH 1/2] Getting setup --- .github/workflows/devosb.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/devosb.yml diff --git a/.github/workflows/devosb.yml b/.github/workflows/devosb.yml new file mode 100644 index 0000000..a84fafa --- /dev/null +++ b/.github/workflows/devosb.yml @@ -0,0 +1,31 @@ +# This is your hello Github Actions file + +name: Hello GHA + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + pull_request: + branches: [ CHANGETOMAIN ] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Run a single command using the runners shell + - name: Github json + run: echo '${{ toJSON(github) }}' +# Below you can see how a second job named test could be added that runs on windows and has its own steps +# test: +# runs-on: windows-latest +# +# steps: + \ No newline at end of file From 773f3d0543d433471a1cdb2240179db2985721ee Mon Sep 17 00:00:00 2001 From: Bobby de Vos Date: Fri, 6 May 2022 10:51:21 -0600 Subject: [PATCH 2/2] Actually follow the README --- .github/workflows/devosb.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/devosb.yml b/.github/workflows/devosb.yml index a84fafa..c63188c 100644 --- a/.github/workflows/devosb.yml +++ b/.github/workflows/devosb.yml @@ -1,12 +1,12 @@ # This is your hello Github Actions file -name: Hello GHA +name: bdevos # Controls when the workflow will run on: # Triggers the workflow on push or pull request events but only for the main branch pull_request: - branches: [ CHANGETOMAIN ] + branches: [ main ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: