Skip to content

Commit

Permalink
demo workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
banadiga authored Oct 9, 2024
1 parent 165dd60 commit b400b70
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/01_github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/02_Build-service.yaml
Original file line number Diff line number Diff line change
@@ -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"
9 changes: 9 additions & 0 deletions .github/workflows/03_DEmo-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Demo workflow

on:
- push

jobs:

Build_service:
uses: 02_Build-service.yaml

0 comments on commit b400b70

Please sign in to comment.