From b400b70a5e0a35352df3714513e26ba7622f5675 Mon Sep 17 00:00:00 2001 From: Ihor Banadiga Date: Wed, 9 Oct 2024 17:47:49 +0300 Subject: [PATCH] demo workflow --- .github/workflows/01_github-actions-demo.yml | 4 ++-- .github/workflows/02_Build-service.yaml | 24 ++++++++++++++++++++ .github/workflows/03_DEmo-build.yml | 9 ++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/02_Build-service.yaml create mode 100644 .github/workflows/03_DEmo-build.yml diff --git a/.github/workflows/01_github-actions-demo.yml b/.github/workflows/01_github-actions-demo.yml index 10384f9..016088c 100644 --- a/.github/workflows/01_github-actions-demo.yml +++ b/.github/workflows/01_github-actions-demo.yml @@ -2,8 +2,8 @@ name: GitHub Actions Demo run-name: ${{ github.actor }} is testing out GitHub Actions 🚀 -on: - - push +# on: +# - push jobs: Explore-GitHub-Actions: diff --git a/.github/workflows/02_Build-service.yaml b/.github/workflows/02_Build-service.yaml new file mode 100644 index 0000000..9991d06 --- /dev/null +++ b/.github/workflows/02_Build-service.yaml @@ -0,0 +1,24 @@ +name: Build java service + +on: + workflow_call: + +jobs: + + compile: + + runs-on: ubuntu-latest + + steps: + - run: echo "Compile java code" + - run: echo "Compile java code" + + testing: + + runs-on: ubuntu-latest + + steps: + - run: echo "Testing java code" + - run: echo "Testing java code" + - run: echo "Testing java code" + - run: echo "Testing java code" \ No newline at end of file diff --git a/.github/workflows/03_DEmo-build.yml b/.github/workflows/03_DEmo-build.yml new file mode 100644 index 0000000..07017b9 --- /dev/null +++ b/.github/workflows/03_DEmo-build.yml @@ -0,0 +1,9 @@ +name: Demo workflow + +on: +- push + +jobs: + + Build_service: + uses: 02_Build-service.yaml