Skip to content

Publish release of library #4

Publish release of library

Publish release of library #4

Workflow file for this run

name: Publish release of library
on:
workflow_dispatch:
inputs:
version:
description: Name of release
required: true
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}-instance
jobs:
build:
name: Create artifacts from master
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: 'src/frontend/package-lock.json'
- uses: actions/setup-java@master
with:
distribution: adopt
java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Publish package
run: ./gradlew publish --scan -Pnpm.download=false -Pbuild_version=${{ github.event.inputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}