Skip to content

Commit

Permalink
Fix env resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
qqndrew committed Feb 21, 2024
1 parent 486b864 commit acdd953
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<servers>
<server>
<id>medtagger</id>
<username>${env.OHNLP_REPO_READ_ACTOR}</username>
<password>${env.OHNLP_REPO_READ_TOKEN}</password>
<username>${env.SECRET_ACTOR}</username>
<password>${env.SECRET_TOKEN}</password>
</server>
</servers>
</settings>

0 comments on commit acdd953

Please sign in to comment.