Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.14 KB

File metadata and controls

61 lines (40 loc) · 1.14 KB

publish-github-release

Publish github release or prerelease dependant to github.ref

inputs:

changelog:

description: "Commit's messages since the latest release"
default: ""
required: false

prerelease:

description: ""
default: "false"
required: false

organization:

description: "Organization name"
default: "VirtoCommerce"
required: false

skipString:

description: "vc-build skip string"
default: "Clean+Restore+Compile+WebPackBuild+Test"
required: false

outputs:

downloadUrl:

description: "GitHub release download URL"

Example of usage

- name: Publish Github Release
  with:
    changelog: ${{ steps.changelog.outputs.changelog }}
    version: ${{ steps.artifact_ver.outputs.shortVersion }}
  uses: VirtoCommerce/vc-github-actions/publish-github-release@master

Compile action

Use @vercel/ncc tool to compile your code and modules into one file used for distribution.

  • Install vercel/ncc by running this command in your terminal.
npm i -g @vercel/ncc
  • Compile your index.ts file.
ncc build ./src/index.ts --license licenses.txt