Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ucf4 authored Aug 19, 2024
1 parent 4866287 commit 6b3afe2
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: Publish package on Push to main

on:
workflow_dispatch:
'on':
workflow_dispatch: null
push:
branches: ['testm']

branches:
- testm
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -14,12 +13,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
distribution: temurin
cache: maven

- name: Publish Package - lib-hl7v2-nist
run: mvn package
run: mvn -B package
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit 6b3afe2

Please sign in to comment.