From fb992daa6ce311f8cbd4a60ec745863107ea1f95 Mon Sep 17 00:00:00 2001 From: BenManwaring Date: Sun, 12 Apr 2020 01:50:02 +0200 Subject: [PATCH 1/4] Create blank.yml --- .github/workflows/blank.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..d6783e2 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,33 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the action will run. Triggers the workflow on push or pull request +# events but only for the master branch +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +# 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@v2 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From a79c02bc839a6b96b134a1d9002ea2932d2ca0f9 Mon Sep 17 00:00:00 2001 From: BenManwaring Date: Sun, 12 Apr 2020 01:51:10 +0200 Subject: [PATCH 2/4] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index d6783e2..e93c322 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -8,7 +8,7 @@ on: push: branches: [ master ] pull_request: - branches: [ master ] + branches: * # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: From 96d1ceb95036b6cad1a9cf9261f48438c9aaa613 Mon Sep 17 00:00:00 2001 From: BenManwaring Date: Sun, 12 Apr 2020 01:54:36 +0200 Subject: [PATCH 3/4] Update blank.yml --- .github/workflows/blank.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index e93c322..99f7754 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -8,7 +8,7 @@ on: push: branches: [ master ] pull_request: - branches: * + branches: [ master ] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -23,8 +23,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: Test + run: gradle test # Runs a set of commands using the runners shell - name: Run a multi-line script From a825efbc2c192929324c27bff866bb7bbdbc291b Mon Sep 17 00:00:00 2001 From: BenManwaring Date: Sun, 12 Apr 2020 01:58:03 +0200 Subject: [PATCH 4/4] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 99f7754..8f85e52 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -24,7 +24,7 @@ jobs: # Runs a single command using the runners shell - name: Test - run: gradle test + run: ./gradlew test # Runs a set of commands using the runners shell - name: Run a multi-line script