Skip to content

Commit

Permalink
hydraulic conveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
mshdabiola committed May 13, 2024
1 parent 4a799e4 commit f32d9b6
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#name: Flutter Build

#on: [push, workflow_dispatch, workflow_call]
name: Release Windows and Linux Hydraulic Conveyor

on: [workflow_dispatch]

jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: "temurin"
java-version: 17

- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Build jar
run: ./gradlew jvmJar

- name: Run Conveyor
uses: hydraulic-software/conveyor/actions/build@v14.1
env:
TOKEN: ${{ secrets.TOKEN }}
with:
command: make copied-site
signing_key: ${{ secrets.SIGNING_KEY }}
agree_to_license: 1
2 changes: 1 addition & 1 deletion composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ plugins {
}

group = "com.mshdabiola.skeletonapp"
version = "1.0.0"
version = "1.0.1"

dependencies {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fun main() {

val appArgs = AppArgs(
appName = "Skeleton App", // To show on title bar
version = "v1.0.0", // To show on title inside brackets
version = "v1.0.1", // To show on title inside brackets
versionCode = 100, // To compare with latest version code (in case if you want to prompt update)
)

Expand Down
18 changes: 17 additions & 1 deletion conveyor.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include required("https://raw.githubusercontent.com/hydraulic-software/conveyor/
// Config file documentation: https://conveyor.hydraulic.dev/latest/configs
app {
// The base URL is where the download site will be placed. Packages will check here for updates.
site.base-url = "localhost:3000"
// site.base-url = "localhost:3000"

// This is optional. If not specified the last component of the rdns name will be turned into a display name.
display-name = "Skeleton App"
Expand All @@ -35,6 +35,22 @@ app {
// Check for and apply updates synchronously on every app launch instead of in the background.
// Consider removing this line for your own app!
updates = aggressive

license = "MIT"
vcs-url = "https://github.com/mshdabiola/hydraulic"
site {
// site.base-url = "localhost:3000"

github {
oauth-token = ${env.TOKEN}
pages-branch = "gh-pages"
}
}
jvm {

modules += java.net.http
modules += java.sql
}
}

app.mac {
Expand Down

0 comments on commit f32d9b6

Please sign in to comment.