Bumped compatibility to liquidctl 1.13.0, multi device support #17
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: Release | |
on: | |
push: | |
branches: | |
- "*" | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v1 | |
- name: Restore Packages | |
run: nuget restore FanControl.LiquidCtl.sln | |
- name: Build Solution | |
run: msbuild.exe FanControl.LiquidCtl.sln /p:configuration="Release" | |
- name: Create Release Archive | |
uses: thedoctor0/zip-release@main | |
with: | |
type: 'zip' | |
directory: 'bin/Release' | |
filename: 'FanControl.LiquidCtl.${{github.ref_name}}.zip' | |
exclusions: '*.xml *.pdb FanControl.Plugins.dll' | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v3 | |
with: | |
name: FanControl.LiquidCtl.${{github.ref_name}}.zip | |
path: bin/Release/FanControl.LiquidCtl.${{github.ref_name}}.zip | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: true | |
files: bin/Release/FanControl.LiquidCtl.${{github.ref_name}}.zip |