diff --git a/.github/workflows/build-and-publish-release.yml b/.github/workflows/build-and-publish-release.yml index 38366c8..9ddbed6 100644 --- a/.github/workflows/build-and-publish-release.yml +++ b/.github/workflows/build-and-publish-release.yml @@ -35,7 +35,9 @@ jobs: SNAPSHOT_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | - mvn -X -B deploy -P publish \ + mvn -X -B deploy \ + -Daether.checksums.algorithms="MD5,SHA-1,SHA-256,SHA-512" \ + -P publish \ --settings=${{ github.workspace }}/.mvn/settings.xml - name: Finish release run: mvn gitflow:release-finish -B -DpushRemote=true -DallowSnapshots=true diff --git a/.github/workflows/build-and-publish-snapshot.yml b/.github/workflows/build-and-publish-snapshot.yml index e21841d..afb59fe 100644 --- a/.github/workflows/build-and-publish-snapshot.yml +++ b/.github/workflows/build-and-publish-snapshot.yml @@ -31,7 +31,9 @@ jobs: SNAPSHOT_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.SNAPSHOT_DEPLOYMENT_REPOSITORY_URL }} RELEASE_DEPLOYMENT_REPOSITORY_URL: ${{ secrets.RELEASE_DEPLOYMENT_REPOSITORY_URL }} run: | - mvn -X -B deploy -P publish \ + mvn -X -B deploy \ + -Daether.checksums.algorithms="MD5,SHA-1,SHA-256,SHA-512" \ + -P publish \ --settings=${{ github.workspace }}/.mvn/settings.xml - uses: actions/upload-artifact@v3.1.3 if: always()