From cefca3fbd4768b2d282bff8666ae9e736565d197 Mon Sep 17 00:00:00 2001 From: Chanakya Date: Wed, 31 Jan 2024 23:10:37 +0530 Subject: [PATCH] Init github release action --- .github/workflows/release.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..3e02af2d --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,31 @@ +name: Release + +on: + push + +jobs: + build: + runs-on: windows-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 7.0.x + - name: Restore + run: dotnet restore + - name: Build + run: .\Utils\build.ps1 + # - 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@v3 + with: + name: Hurl_Installer + path: ./Utils/Hurl_Installer.exe