Skip to content

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ucf4 authored Aug 14, 2024
1 parent dfbf495 commit d3f4d12
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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 }}

0 comments on commit d3f4d12

Please sign in to comment.