Skip to content

MAke sure we wait for the check so it does not fail on the slower pip… #12

MAke sure we wait for the check so it does not fail on the slower pip…

MAke sure we wait for the check so it does not fail on the slower pip… #12

Workflow file for this run

---
name: Publish Snapshot
on:
push:
branches:
- main
- '[0-9].x'
workflow_dispatch:
jobs:
snapshot:
name: Deploy Snapshot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up publishing to maven central
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: 'maven'
server-id: ossrh
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: mvn offline
run: |
mvn -q dependency:go-offline
- name: deploy
run: |
mvn --no-transfer-progress deploy
env:
MAVEN_USERNAME: ${{secrets.OSSH_USERNAME}}
MAVEN_PASSWORD: ${{secrets.OSSH_TOKEN}}