Skip to content

Merge pull request #40 from Swofty-Developments/main #3

Merge pull request #40 from Swofty-Developments/main

Merge pull request #40 from Swofty-Developments/main #3

Workflow file for this run

name: Release artifact with Maven
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: "21"
distribution: "temurin"
cache: maven
- name: Build with Maven
run: mvn clean compile assembly:single --file pom.xml
- name: Upload artifact to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/quboscanner*.jar
file_glob: true
tag: ${{ github.ref }}
overwrite: true