Skip to content

Update tessellation to 2.0.0 #20

Update tessellation to 2.0.0

Update tessellation to 2.0.0 #20

Workflow file for this run

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: snapshot-streaming
- name: Checkout tessellation
uses: actions/checkout@v3
with:
path: tessellation
repository: Constellation-Labs/tessellation
ref: v2.0.0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: sbt
- name: Build tessellation packages
run: (cd tessellation; sbt kernel/publishM2 shared/publishM2 keytool/publishM2 sdk/publishM2)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Assembly
run: (cd snapshot-streaming; sbt assembly)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get the release version
id: get_version
run: echo "::set-output name=version::$(cd snapshot-streaming; sbt -Dsbt.supershell=false -error "print version")"
# - name: Build Changelog
# id: build_changelog
# uses: mikepenz/[email protected]
# with:
# configuration: .github/config/changelog.json
- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
name: Release ${{ steps.get_version.outputs.version }}
tag_name: ${{ github.ref_name }}
draft: true
prerelease: false
body: ${{ steps.build_changelog.outputs.changelog }}
files: snapshot-streaming/target/scala-2.13/cl-snapshot-streaming-assembly-${{ steps.get_version.outputs.version }}.jar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}