Skip to content

add typescript formatting #83

add typescript formatting

add typescript formatting #83

Workflow file for this run

name: release-build
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Build release
uses: burrunan/gradle-cache-action@v2
with:
job-id: jdk17
arguments: bootJar bootWar
properties: vaadin.productionMode=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Extract version
id: version
run: echo ::set-output name=value::$(git describe --abbrev=0 | sed -e "s/^v//")
- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
- name: Upload Release War
id: upload-release-asset-1
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./acrarium/build/libs/acrarium-${{ steps.version.outputs.value }}.war
asset_name: acrarium-${{ steps.version.outputs.value }}.war
asset_content_type: application/zip
- name: Upload Release Jar
id: upload-release-asset-2
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./acrarium/build/libs/acrarium-${{ steps.version.outputs.value }}.jar
asset_name: acrarium-${{ steps.version.outputs.value }}.jar
asset_content_type: application/zip