From 4d39551677e82af77b1ef673d0d2d03527ec7f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nelson=20Gra=C3=A7a?= Date: Fri, 5 Jan 2024 03:23:57 +0000 Subject: [PATCH] fix --- .github/workflows/deploy.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index fbc100b..9efab31 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -6,7 +6,8 @@ on: - "master" jobs: - build: + setup: + name: Setup runs-on: ubuntu-latest steps: @@ -19,6 +20,14 @@ jobs: distribution: 'temurin' cache: maven + build-and-deploy: + name: Build and Deploy + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: - name: 'Login to GitHub Container Registry' uses: docker/login-action@v1 with: @@ -29,6 +38,11 @@ jobs: - name: Build with Maven run: mvn -B deploy + finalize: + name: Final Stuff + runs-on: ubuntu-latest + + steps: # Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive - name: Update dependency graph uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6 \ No newline at end of file