Skip to content

use github for actions #3

use github for actions

use github for actions #3

Workflow file for this run

# this build is designed to replicate the Travis CI workflow
name: Deploy SNAPSHOT Version on 1.6.x branch
on:
push:
branches: [1.6.x]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
cache: 'maven'
- name: Deploy SNAPSHOT with Maven
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}