Skip to content

Release

Release #1

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
version:
required: true
description: Version
prerelease:
type: boolean
required: true
description: Prerelease or not
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- 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: Create New Release
uses: ncipollo/[email protected]
with:
prerelease: ${{ github.event.inputs.prerelease }}
tag: ${{ github.event.inputs.version }}
artifacts: build/liblayer.so