Fix snapshot-release.yml workflow
@@ -235,17 +235,9 @@ jobs:
APPLE_USERNAME: ${{ secrets.APPLE_USERNAME }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
- - name: Determine which repository to upload to
- run: |
- if [ ${{ github.event_name }}
-
- name: Upload snapshot releases to OSSRH
run: |
- if [ ${{ github.event_name }} == release ]; then
- mvn deploy -DskipTests=true -DrepositoryId=ossrh
- else
- mvn deploy -DskipTests=true -DrepositoryId=ossrh_snapshots
- fi
+ mvn deploy -DskipTests=true
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}
