From f100095ef15dcb5c8921a6304857a043ffe00873 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20H=C3=A4nninen?= Date: Mon, 11 Dec 2023 13:29:26 +0200 Subject: [PATCH] =?UTF-8?q?wip:=20Lis=C3=A4=C3=A4=20settings.xml=20-genero?= =?UTF-8?q?inti?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 07b9b855218..b87284bd6e1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -89,6 +89,12 @@ jobs: distribution: "zulu" cache: "maven" + - name: Setup settings.xml + uses: s4u/maven-settings-action@v2.8.0 + if: steps.check-image.outputs.image-exists != '0' + with: + servers: '[{"id": "github","configuration": {"httpHeaders": {"property": {"name": "Authorization","value": "Bearer ${{ secrets.GITHUB_TOKEN }}"}}}}]' + - name: Build application and publish it to Github Packages if: steps.check-image.outputs.image-exists != '0' run: make dist version=${{ github.event.inputs.commithash }}