Added a basic template to the extras JSON input

This commit is contained in:
Nicola Belluti
2025-02-10 10:10:58 +01:00
parent 15ff80b664
commit c287d946c4
4 changed files with 72 additions and 10 deletions

View File

@@ -48,13 +48,28 @@ on:
required: true
default: 'rustdesk'
type: string
# There can be at maximum 10 `inputs` variable
# https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-using-the-rest-api
extras:
description: "extra inputs in json"
description: "JSON for extra inputs"
required: true
default: '{}'
default: >-
{
"genurl": "",
"runasadmin": "false",
"urlLink": "https://rustdesk.com",
"downloadLink": "https://rustdesk.com/download",
"delayFix": "true",
"version": "master",
"rdgen": "true",
"cycleMonitor": "false",
"xOffline": "false",
"hidecm": "false",
"statussort": "false",
"removeNewVersionNotif": "false"
}
type: string
env:
SCITER_RUST_VERSION: "1.75" # https://github.com/rustdesk/rustdesk/discussions/7503, also 1.78 has ABI change which causes our sciter version not working, https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
RUST_VERSION: "1.75" # sciter failed on m1 with 1.78 because of https://blog.rust-lang.org/2024/03/30/i128-layout-update.html

View File

@@ -48,10 +48,26 @@ on:
required: true
default: 'rustdesk'
type: string
# There can be at maximum 10 `inputs` variable
# https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-using-the-rest-api
extras:
description: "extra inputs in json"
description: "JSON for extra inputs"
required: true
default: '{}'
default: >-
{
"genurl": "",
"runasadmin": "false",
"urlLink": "https://rustdesk.com",
"downloadLink": "https://rustdesk.com/download",
"delayFix": "true",
"version": "master",
"rdgen": "true",
"cycleMonitor": "false",
"xOffline": "false",
"hidecm": "false",
"statussort": "false",
"removeNewVersionNotif": "false"
}
type: string
env:

View File

@@ -48,10 +48,26 @@ on:
required: true
default: 'rustdesk'
type: string
# There can be at maximum 10 `inputs` variable
# https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-using-the-rest-api
extras:
description: "extra inputs in json"
description: "JSON for extra inputs"
required: true
default: '{}'
default: >-
{
"genurl": "",
"runasadmin": "false",
"urlLink": "https://rustdesk.com",
"downloadLink": "https://rustdesk.com/download",
"delayFix": "true",
"version": "master",
"rdgen": "true",
"cycleMonitor": "false",
"xOffline": "false",
"hidecm": "false",
"statussort": "false",
"removeNewVersionNotif": "false"
}
type: string
env:

View File

@@ -48,13 +48,28 @@ on:
required: true
default: 'rustdesk'
type: string
# There can be at maximum 10 `inputs` variable
# https://docs.github.com/en/actions/managing-workflow-runs-and-deployments/managing-workflow-runs/manually-running-a-workflow#running-a-workflow-using-the-rest-api
extras:
description: "extra inputs in json"
description: "JSON for extra inputs"
required: true
default: '{}'
default: >-
{
"genurl": "",
"runasadmin": "false",
"urlLink": "https://rustdesk.com",
"downloadLink": "https://rustdesk.com/download",
"delayFix": "true",
"version": "master",
"rdgen": "true",
"cycleMonitor": "false",
"xOffline": "false",
"hidecm": "false",
"statussort": "false",
"removeNewVersionNotif": "false"
}
type: string
env:
SCITER_RUST_VERSION: "1.75" # https://github.com/rustdesk/rustdesk/discussions/7503, also 1.78 has ABI change which causes our sciter version not working, https://blog.rust-lang.org/2024/03/30/i128-layout-update.html
RUST_VERSION: "1.75" # sciter failed on m1 with 1.78 because of https://blog.rust-lang.org/2024/03/30/i128-layout-update.html