-
Notifications
You must be signed in to change notification settings - Fork 29
36 lines (34 loc) · 1.08 KB
/
etherip-package.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Publish EtherIP
on:
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-check
cancel-in-progress: true
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
repository: 'ornl-epics/etherip'
- name: Setup Java
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4
with:
distribution: 'adopt'
java-version: '17'
- uses: whelk-io/maven-settings-xml-action@9dc09b23833fa9aa7f27b63db287951856f3433d # v3.0.0
with:
servers: >
[
{
"id":"github",
"username":"${{ github.actor }}",
"password":"${{ secrets.GITHUB_TOKEN }}"
}
]
- name: Build and Publish
run: mvn package deploy:deploy-file -Durl=https://maven.pkg.github.com/hivemq/hivemq-edge -DrepositoryId=github -Dfile=target/etherip-1.0.0.jar -DpomFile=pom.xml