Skip to content

Release and deploy

Release and deploy #21

Workflow file for this run

name: Release and deploy
on:
workflow_dispatch:
inputs:
version:
description: 'Version number for the app'
required: true
default: ''
updateRelease:
description: 'Update existing release'
required: true
default: 'false'
jobs:
deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/full-build
with:
version: ${{ github.event.inputs.version }}
- name: Create GitHub release
uses: ncipollo/release-action@v1
with:
tag: "v${{ github.event.inputs.version }}"
artifacts: "publish/*.zip,publish/*.msi"
generateReleaseNotes: true
prerelease: ${{ contains(github.event.inputs.version, 'preview') }}
allowUpdates: ${{ github.event.inputs.updateRelease }}
removeArtifacts: true
omitBodyDuringUpdate: true