Skip to content

Delete .github/FUNDING.yml #60

Delete .github/FUNDING.yml

Delete .github/FUNDING.yml #60

Workflow file for this run

name: Build
on:
push:
branches: [master, develop]
tags: ['v*']
pull_request:
branches: [master, develop]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v2
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }}
- name: Build
run: cmake --build build --config ${{ env.BUILD_TYPE }}
- name: Test
run: ctest --test-dir build -C ${{ env.BUILD_TYPE }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Display-Lock
path: build/src/Release/Display-Lock.exe
deploy:
if: startsWith(github.ref, 'refs/tags/')
needs: build
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: Display-Lock
path: release
- name: Create release
uses: ncipollo/release-action@v1
with:
artifacts: release/Display-Lock.exe
bodyFile: CHANGELOG.md