From feb2f2456daf21d70156c11538760c829ebf9398 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Sat, 24 Oct 2020 02:22:16 +0200 Subject: [PATCH] recompile the script --- dist/index.js | 5 ++--- index.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index b9ace4d9..5c253aef 100644 --- a/dist/index.js +++ b/dist/index.js @@ -15,8 +15,8 @@ const yaml = __webpack_require__(3725) const bundle = core.getInput('bundle') || 'app.flatpak' const artifactName = bundle.replace('.flatpak', '') const runtimeRepo = core.getInput('runtime-repo') -const manifestPath = core.getInput('manifest-path') || './docker/com.github.tchx84.Flatseal.json' -const runTests = true //['y', 'yes', 'true', 'enabled'].includes(core.getInput('run-tests')) +const manifestPath = core.getInput('manifest-path') +const runTests = ['y', 'yes', 'true', 'enabled'].includes(core.getInput('run-tests')) const branch = 'master' const buildDir = 'flatpak_app' const repoName = 'repo' @@ -95,7 +95,6 @@ const initBuild = (manifestPath, callback) => { const build = async (manifest) => { const appId = manifest['app-id'] - core.info(JSON.stringify(manifest)) core.info('Building the flatpak...') await exec.exec(`xvfb-run --auto-servernum flatpak-builder`, [ diff --git a/index.js b/index.js index 298b932c..ae46d0c5 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ const bundle = core.getInput('bundle') || 'app.flatpak' const artifactName = bundle.replace('.flatpak', '') const runtimeRepo = core.getInput('runtime-repo') const manifestPath = core.getInput('manifest-path') -const runTests = true ['y', 'yes', 'true', 'enabled'].includes(core.getInput('run-tests')) +const runTests = ['y', 'yes', 'true', 'enabled'].includes(core.getInput('run-tests')) const branch = 'master' const buildDir = 'flatpak_app' const repoName = 'repo'