Initial beta release #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- dev | |
tags: | |
- 'v*' | |
permissions: | |
contents: write | |
actions: write | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up CMake | |
uses: lukka/get-cmake@latest | |
- name: Configure CMake | |
run: cmake -S . -B build | |
- name: Build | |
run: cmake --build build --config Release | |
- name: Archive Artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: redlight | |
path: build/Release/RedLight.exe | |
- name: Release and Upload Asset | |
if: startsWith(github.ref, 'refs/tags/v') | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: build/Release/RedLight.exe | |
token: ${{ secrets.GITHUB_TOKEN }} |