Update README.md #225
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish package to the Mifos Artifactory and GitHub Packages | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Java for publishing to Mifos Artifactory | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '21' | |
| distribution: 'zulu' | |
| server-id: central | |
| server-username: ARTIFACTORY_USERNAME | |
| server-password: ARTIFACTORY_PASSWORD | |
| - name: Publish to the Mifos Artifactory | |
| run: mvn -Dmaven.test.skip=true --batch-mode deploy | |
| env: | |
| ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }} | |
| ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} |