qcastel / github-actions-maven-release

Release your Java application and publish artifacts
129 stars 38 forks source link

Multiple repos #42

Closed qcastel closed 2 years ago

qcastel commented 2 years ago

41

@BernhardFuchs Can you verify that this work for you as expected? I tested it against my sample repo and it looks to work fine:

https://github.com/gh-a-sample/github-actions-maven-release-sample/blob/master/.github/workflows/release.yaml#L34 Successful build: https://github.com/gh-a-sample/github-actions-maven-release-sample/actions/runs/1619587594

It works slightly differently than your other github actions, I went instead for a json format:

          maven-servers: '[{"id": "serverId1", "username": "username", "password": "password", "privateKey": "test", "passphrase": "testes"}, {"id": "serverId2", "username": "username2", "password": "password2"}]'

Also for reviewing this PR before I merge it to master, you will need to change the branch to:

      - name: Release
        uses: qcastel/github-actions-maven-release@multiple-repos

Let me know if everything is working on your side!

BernhardFuchs commented 2 years ago

Yes, that works fine.
Thx for the quick fix