Skip to content

Merge pull request #90 from OP-TED/bugfix/align_deps_and_code_to_efx_… #62

Merge pull request #90 from OP-TED/bugfix/align_deps_and_code_to_efx_…

Merge pull request #90 from OP-TED/bugfix/align_deps_and_code_to_efx_… #62

Workflow file for this run

name: Publish package to GitHub Packages
on:
push:
branches:
- 'develop'
- 'main'
release:
types: [created]
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Test package
run: mvn --batch-mode test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish package
run: mvn --batch-mode deploy -DskipTests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}