From acdd9530cccc4c4758f68c518aee395343ecfbf0 Mon Sep 17 00:00:00 2001 From: Andrew Wen Date: Wed, 21 Feb 2024 15:17:23 -0600 Subject: [PATCH] Fix env resolution --- .github/workflows/build.yml | 4 ++-- settings.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16f9028..2536883 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,8 +19,8 @@ jobs: - name: Build with Maven run: mvn clean package --file pom.xml -s settings.xml env: - SECRET_ACTOR: ${{ secrets.SECRET_ACTOR }} - SECRET_TOKEN: ${{ secrets.SECRET_TOKEN }} + SECRET_ACTOR: ${{ secrets.OHNLP_REPO_READ_ACTOR }} + SECRET_TOKEN: ${{ secrets.OHNLP_REPO_READ_TOKEN }} - name: Build with Ant run: ant dist -noinput -buildfile build.xml - name: Create a Release diff --git a/settings.xml b/settings.xml index f8d73a9..0e72d3a 100644 --- a/settings.xml +++ b/settings.xml @@ -5,8 +5,8 @@ medtagger - ${env.OHNLP_REPO_READ_ACTOR} - ${env.OHNLP_REPO_READ_TOKEN} + ${env.SECRET_ACTOR} + ${env.SECRET_TOKEN} \ No newline at end of file