Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 68 #74

Closed
wants to merge 4 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,34 @@ jobs:
- run: mvn -V validate -Drequire.java=17 -Drequire.maven=3.9.6
shell: bash

# regressions tests
test-issue-68:
name: Test for issue 68
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: ./
with:
settings-servers: |
[{
"id": "ossrh",
"username": "${{ vars.TEST_68_1 }}",
"password": "${{ vars.TEST_68_2 }}"
}]

- run: cat ~/.m2/settings.xml

- run: |
grep "<id>ossrh</id>" ~/.m2/settings.xml
grep "<username>username-68</username>" ~/.m2/settings.xml
grep "<username>pupassword-68</username>" ~/.m2/settings.xml

test-ok:
name: Test OK
runs-on: ubuntu-latest
needs: [ test, test-default ]
needs: [ test, test-default, test-issue-68 ]
if: always()

steps:
Expand Down
Loading