File tree Expand file tree Collapse file tree 1 file changed +25
-8
lines changed
Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Original file line number Diff line number Diff line change 1- name : Main workflow
1+ name : Main
22on : push
3+ env :
4+ github_username : ${{ github.actor }}
5+ github_password : ${{ secrets.GITHUB_TOKEN }}
6+ GIT_COMMIT : ${{ github.sha }}
37jobs :
48 Build :
59 runs-on : ubuntu-latest
610 container : gradle:6-jdk11
711 steps :
8- - name : Clone down repository
12+ - name : " checkout: repo "
913 uses : actions/checkout@v4
10- - name : Build application
14+ - name : " build: application"
1115 run : ci/build-app.sh
12- - name : Test
16+ - name : " test: application "
1317 run : ci/unit-test-app.sh
14- - name : Upload repo
18+ - name : " upload: repo"
1519 uses : actions/upload-artifact@v4
1620 with :
1721 name : code
1822 path : .
1923 include-hidden-files : true
20- Linting :
24+ Lint :
2125 runs-on : ubuntu-latest
2226 needs : [Build]
2327 steps :
24- - name : Download code
28+ - name : " download: artifact "
2529 uses : actions/download-artifact@v4
2630 with :
2731 name : code
2832 path : .
29- - name : run linting
33+ - name : " run: lint "
3034 uses : super-linter/super-linter/slim@v7
3135 env :
3236 DEFAULT_BRANCH : main
3337 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3438 DISABLE_ERRORS : true
39+ Docker :
40+ runs-on : ubuntu-latest
41+ needs : [Build]
42+ steps :
43+ - name : " download: artifact"
44+ uses : actions/download-artifact@v4
45+ with :
46+ name : code
47+ path : .
48+ - name : " build: docker"
49+ run : bash ci/build-docker.sh
50+ - name : " deploy: docker"
51+ run : bash ci/push-docker.sh
You can’t perform that action at this time.
0 commit comments