Skip to content

updated GitHub workflows #8

updated GitHub workflows

updated GitHub workflows #8

Workflow file for this run

# from https://github.com/actions/upload-release-asset
name: "Make a release"
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
publish:
name: "build and upload release asset"
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: "check out code"
uses: actions/checkout@v4
- name: "set up JDK"
uses: actions/setup-java@v4
with:
java-version: 17
distribution: "zulu"
cache: 'maven'
- name: "compile and package"
run: mvn -B clean install
- name: "create release and upload assets"
uses: ncipollo/release-action@v1
with:
artifacts: "pbsmon/target/pbsmon2.war"