Skip to content

Commit

Permalink
Merge pull request #104 from BartoszCichecki/beta
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszCichecki authored Jun 4, 2022
2 parents bb8fde1 + e4a3533 commit 769d236
Show file tree
Hide file tree
Showing 107 changed files with 4,483 additions and 1,802 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ on:
jobs:
build:

runs-on: windows-latest
runs-on: windows-2022

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
#- name: Test
# run: dotnet test --no-build --verbosity normal
run: .\make.bat
- uses: actions/upload-artifact@v3
with:
name: installer
path: build_installer\LenovoLegionToolkitSetup.exe
70 changes: 0 additions & 70 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,24 @@ on:
jobs:
build:

runs-on: windows-latest
runs-on: windows-2022

steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Publish
run: dotnet publish LenovoLegionToolkit.WPF --no-restore -c release -o build /p:DebugType=None /p:FileVersion=${{ github.ref_name }} /p:Version=${{ github.ref_name }}
- name: Build
run: .\make.bat ${{ github.ref_name }}
- name: Release
uses: softprops/action-gh-release@v1
with:
draft: true
files: build\Lenovo Legion Toolkit.exe
files: build_installer\LenovoLegionToolkitSetup.exe
- uses: actions/upload-artifact@v3
with:
name: installer
path: build_installer\LenovoLegionToolkitSetup.exe
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -578,3 +578,5 @@ obj/
# Additional files built by Visual Studio

# End of https://www.toptal.com/developers/gitignore/api/visualstudio,dotnetcore,csharp

build_installer
Loading

0 comments on commit 769d236

Please sign in to comment.