Skip to content

Update the version

Update the version #2

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- '[0-9]+.[0-9]+' # Push events to matching release tags, i.e. 0.8
name: Upload Release Asset
jobs:
build:
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get update -qq && sudo apt-get install -y libhyphen0 hyphen-de
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
- name: Create release and upload release asset
uses: softprops/action-gh-release@v1
with:
draft: false
prerelease: false
files: ./target/dtbook-hyphenator-*-shaded.jar