Skip to content

2.0.0 release

2.0.0 release #13

Workflow file for this run

name: Create Release
on:
push:
tags:
- '*' # Push events to matching *
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build
run: |
./gradlew binDir macOSApp
tar czf RoboViz.tar.gz bin/
mv build/macos/RoboViz.app .
zip -r -9 RoboViz-macOS.zip RoboViz.app
- name: Create Release
id: create-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
run: gh release create ${{ github.ref }} --title ${{ github.ref_name }} ./RoboViz.tar.gz ./RoboViz-macOS.zip