Merge pull request #1 from CDCgov/profilefetch #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Jar on Push to main | |
on: | |
workflow_dispatch: | |
push: | |
branches: ['main'] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
cache: sbt | |
- name: Publish Package - lib-hl7v2-nist | |
run: sbt publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |