From c5d5a4774334af17bdda11a37b9023c7c73be0b5 Mon Sep 17 00:00:00 2001 From: claugner <142097580+claugner@users.noreply.github.com> Date: Fri, 6 Dec 2024 14:36:02 +0000 Subject: [PATCH] add action --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..925102b --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: build + +on: + workflow_dispatch: + push: + pull_request: + +jobs: + build: + runs-on: windows-2019 + + steps: + - uses: actions/checkout@v4 + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v2 + + - name: Build solution + run: | + msbuild USBCopyer.sln -t:build -property:Configuration=Release + msbuild USBCopyer.sln -t:build -property:Configuration=ReNet3.5 + + - uses: actions/upload-artifact@v4 + with: + name: release + path: USBCopyer/bin/