From 67b1e37732de2deea714cd2e815bfd777c4cb9b8 Mon Sep 17 00:00:00 2001 From: Noemi Deppenwiese Date: Wed, 5 Aug 2020 13:09:02 +0200 Subject: [PATCH] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 8f66005..8a5b1cd 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -22,7 +22,7 @@ jobs: settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Replace secret - run: sed -i 's/SECRET/$GITHUB_PKG_TOKEN/g' $GITHUB_WORKSPACE/.github/settings.xml + run: sed -i 's/SECRET/${{ secrets.MODEL_PKG_TOKEN}}/g' $GITHUB_WORKSPACE/.github/settings.xml - name: Build with Maven run: mvn -B package --file pom.xml -s $GITHUB_WORKSPACE/.github/settings.xml