Skip to content

Commit 8638bbc

Browse files
committed
fix: ensure workflow
1 parent 1a1c626 commit 8638bbc

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

.github/workflows/build.publish.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
name: Build Publish
22
on:
33
push:
4-
branches: [ 'main' ]
4+
branches: [ 'aula-3-github-actions' ]
55
jobs:
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

@@ -30,14 +29,6 @@ jobs:
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

0 commit comments

Comments
 (0)