Files
archived-tauri-action/action.yml
Fabian-Lars c5c0e27d68 refactor: Merge workspace into single package. (#362)
* refactor repo into one package

* take pnpm for a test drive

* add tslib again

* fix dist path in action.yml

* split up core script. add eslint

* don't early return artifacts on macos

* up node version

* update deps

* fix change files

* rebuild dist
2023-02-06 13:44:53 +01:00

54 lines
2.0 KiB
YAML

name: 'tauri-action'
description: 'Build tauri binaries for MacOS, Windows and Linux'
icon: 'download-cloud'
color: 'blue'
author: 'Lucas Nogueira <lucas@tauri.studio>'
inputs:
releaseId:
description: 'The id of the release to upload artifacts as release assets'
tagName:
description: 'The tag name of the release to create'
releaseName:
description: 'The name of the release to create'
releaseBody:
description: 'The body of the release to create'
releaseDraft:
description: 'Whether the release to create is a draft or not'
default: false
prerelease:
description: 'Whether the release to create is a prerelease or not'
default: false
releaseCommitish:
description: 'Any branch or commit SHA the Git tag is created from, unused if the Git tag already exists. Default: SHA of current commit'
projectPath:
description: 'path to the root of the project that will be built'
default: '.'
configPath:
description: 'path to the tauri.conf.json file if you want a configuration different from the default one'
default: 'tauri.conf.json'
distPath:
description: 'path to the distributable folder with your index.html and JS/CSS'
iconPath:
description: 'path to the PNG icon to use as app icon, relative to the projectPath'
includeDebug:
description: 'whether to include a debug build or not'
default: false
tauriScript:
description: 'the script to run to build the Tauri app'
args:
description: 'arguments for the tauri command'
bundleIdentifier:
description: 'the bundle identifier to inject when initializing the Tauri app'
outputs:
releaseId:
description: 'The ID of the created release'
releaseHtmlUrl:
description: 'The URL users can navigate to in order to view the created release'
releaseUploadUrl:
description: 'The URL for uploading assets to the created release'
artifactPaths:
description: 'The paths of the generated artifacts'
runs:
using: 'node16'
main: 'dist/index.js'