Skip to content

release version 24.01.1 #83

release version 24.01.1

release version 24.01.1 #83

Workflow file for this run

name: Create Release
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/cache@v1
name: Set up caching
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up Java 11
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: actions/checkout@v2
name: Checkout Goobi viewer Theme Reference
- name: Create viewer.war
run: mvn -f goobi-viewer-theme-reference/pom.xml clean package -U -B
- name: Create a Github release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload viewer.war to Github Release
id: upload-release-asset
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./goobi-viewer-theme-reference/target/viewer.war
asset_name: viewer.war
asset_content_type: application/zip