Skip to content

Commit

Permalink
adding PERSONAL_ACCESS_TOKEN as env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
harikrishnan83 committed May 13, 2024
1 parent 63bdf0f commit 664ed16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
java-version: ${{ matrix.java }}
- name: Build with Maven
working-directory: main
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.CENTRAL_CONTRACT_REPO_ACCESS_TOKEN }}
run: mvn test package jacoco:report
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion specmatic.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"sources": [
{
"provider": "git",
"repository": "https://${CENTRAL_CONTRACT_REPO_ACCESS_TOKEN}@github.com/znsio/central-contract-repo-private.git",
"repository": "https://${PERSONAL_ACCESS_TOKEN}@github.com/znsio/central-contract-repo-private.git",
"test": [
"in/specmatic/examples/store/api_order_v3.yaml"
]
Expand Down

0 comments on commit 664ed16

Please sign in to comment.