Skip to content

v24.0.1 - Vaadin 24

v24.0.1 - Vaadin 24 #5

Workflow file for this run

name: Build and Upload ApexCharts for Vaadin
on:
release:
types: [published]
jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '17'
- name: Set version from tag
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
mvn versions:set -DnewVersion=${TAG_NAME#v}
mvn clean install -B -Pdirectory
- name: Upload ApexChartsJS
run: |
TAG_NAME=${GITHUB_REF#refs/tags/}
curl -X POST "https://vaadin.com/vaadincom/directory-service/upload/apexchartsjs?authKey=${{ secrets.VAADIN_AUTH_KEY }}" \
-H "accept: */*" \
-H "Content-Type: multipart/form-data" \
-F "file=@target/apexcharts-${TAG_NAME#v}.zip;type=application/zip"