diff --git a/.github/workflows/publish-to-maven.yml b/.github/workflows/publish-to-maven.yml index 3ee9938..0ad96be 100644 --- a/.github/workflows/publish-to-maven.yml +++ b/.github/workflows/publish-to-maven.yml @@ -1,12 +1,9 @@ name: Publish to Maven Central on: - workflow_dispatch: - inputs: - version: - description: 'Library release version' - required: true push: + branches: + - publish-to-maven env: NEW_VERSION: ${{ github.event.inputs.version }} @@ -21,7 +18,7 @@ jobs: strategy: matrix: include: - - os: macos-latest +# - os: macos-latest - os: ubuntu-latest runs-on: ${{ matrix.os }} steps: @@ -53,8 +50,8 @@ jobs: - name: Ensure main branch run: ./.github/sh/validate_publishing_branch.sh - - name: Validate library version update - run: ./.github/sh/validate_version_update.sh "libraryVersion" "$NEW_VERSION" +# - name: Validate library version update +# run: ./.github/sh/validate_version_update.sh "libraryVersion" "$NEW_VERSION" - name: Validate publishing run: |