Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .github/workflows/gradle.yml

This file was deleted.

23 changes: 17 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build-kdb:
build-kdb-studio:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand All @@ -23,15 +23,26 @@ jobs:
- name: Project checkout
uses: actions/checkout@v2

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

- name: Setup java
uses: actions/setup-java@v1
with:
java-version: 8
- name: Build KDB Studio (with Gradle)
uses: eskatos/gradle-command-action@v1
with:
arguments: build
arguments: install
# Runs a single command using the runners shell
- name: Show workspace
run: find
- name: Make release archive
run: cd build/install; zip -r studio *
- name: Upload release
if: github.event_name == 'push'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Latest Build"
files: |
build/install/studio.zip
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,10 @@ sourceSets {

application {
mainClassName = 'studio.core.Studio'
}
}

jar {
manifest {
attributes 'Main-Class': 'studio.core.Studio'
}
}