Skip to content

Merge pull request #3164 from ingef/feat/datepicker-changes #53

Merge pull request #3164 from ingef/feat/datepicker-changes

Merge pull request #3164 from ingef/feat/datepicker-changes #53

Workflow file for this run

name: "Release Backend"
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- "v[0-9]+.[0-9]+.[0-9]+-[0-9]+KW[0-9][0-9]"
- "v[0-9]+.[0-9]+.[0-9]+-[0-9]+KW[0-9][0-9]-HOTFIX-*"
- "!v[0-9]+.[0-9]+.[0-9]+-[0-9]+KW[0-9][0-9]-RC*" # Don't release RCs
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
# This should be deep enough to fetch at least one light weight tag
fetch-depth: 500
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
overwrite-settings: false
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build
run: ./scripts/build_backend_version.sh
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
executable/target/executable*.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}