Skip to content

Release

Release #1

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
body:
type: textarea
description: Release notes
required: false
version:
type: text
description: Version number
required: true
env:
BUILD_TYPE: Release
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Publish Release
uses: ncipollo/release-action@v1
with:
artifacts: |
${{github.workspace}}/build/bin/*
token: ${{secrets.GITHUB_TOKEN}}
body: ${{ github.event.inputs.body }}
version: ${{ github.event.inputs.version }}