Skip to content

prep for beta 6 release #48

prep for beta 6 release

prep for beta 6 release #48

#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
name: Build All Installers
#based on: https://github.com/wiverson/maven-jpackage-template/blob/main/.github/workflows/maven-package.yml
#this is overly simplified and does not create working apps nor signed dmgs, etc
on:
push:
tags:
- 'v*' #push tags matching 'v*'
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: 17.0.10
distribution: 'zulu'#may need to move to liberica
java-package: jdk+fx
cache: 'maven'
- name: "Display family/arch"
run: mvn enforcer:display-info
- name: "Build with Maven"
run: mvn -B clean install -P app-release --file pom.xml
- name: Update Automatic Release
uses: marvinpinto/action-automatic-releases@latest
# see https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
#automatic_release_tag: "${{ github.ref_name }}-${{ matrix.os }}"
prerelease: true
draft: true
title: ${{ github.ref_name }} Development Build
files: |
./tika-gui-app/target/*-bin.zip