File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 11name : Build Publish
22on :
33 push :
4- branches : [ 'main ' ]
4+ branches : [ 'aula-3-github-actions ' ]
55jobs :
66 build :
7- name : Construir artefato com Maven
87 runs-on : ubuntu-latest
98 steps :
109 - name : Checkout do repositório
1110 uses : actions/checkout@v4
1211
13- - name : Configura jdk
12+ - name : Configurar jdk
1413 uses : actions/setup-java@v4
1514 with :
16- java-version : ' 21 '
17- distribution : ' temurin'
15+ java-version : 21
16+ distribution : temurin
1817 architecture : x64
1918 cache : maven
2019
3029 name : api-market-place-artifact
3130 path : application/target
3231
33- - name : Guardar artefato em cache
34- run : actions/cache@v3
35- with :
36- key : package
37- path : .
38-
39-
40-
4132 publish_to_registry :
4233 needs : [ build ]
4334 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments