forked from BartoszCichecki/LenovoLegionToolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (30 loc) · 746 Bytes
/
release.yml
File metadata and controls
34 lines (30 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Release
on:
push:
tags:
- "[0-9]*.[0-9]*.[0-9]*"
jobs:
build:
runs-on: windows-2022
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore
run: dotnet restore
- name: Build
run: .\make.bat ${{ github.ref_name }}
- name: Release
uses: softprops/action-gh-release@v0.1.13
with:
draft: true
files: build_installer/LenovoLegionToolkitSetup.exe
fail_on_unmatched_files: true
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: installer
path: build_installer/LenovoLegionToolkitSetup.exe