diff --git a/.github/workflows/dotnetframework.yml b/.github/workflows/dotnetframework.yml new file mode 100644 index 0000000..19527fd --- /dev/null +++ b/.github/workflows/dotnetframework.yml @@ -0,0 +1,34 @@ +name: .NET Framework + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2.0.0 + name: Checkout Code + + - name: Add msbuild to PATH + uses: microsoft/setup-msbuild@v1.0.0 + + - name: Setup NuGet + uses: NuGet/setup-nuget@v1.0.2 + + - name: Restore NuGet Packages + run: nuget restore QuickDictionary.sln + + - name: Build App + run: msbuild QuickDictionary.sln /p:Configuration=Release /p:Platform=x64 + + - name: Upload Artifact + uses: actions/upload-artifact@v1.0.0 + with: + name: compiled_binary_x64 + path: QuickDictionary\bin\x64\Release diff --git a/README.md b/README.md index ea9123e..5833cd6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # QuickDictionary + +![.NET Framework](https://github.com/Henry-YSLin/QuickDictionary/workflows/.NET%20Framework/badge.svg) + Speed up the process of looking up a word in dictionaries + + ## Downloads + + Head to Actions to download an auto-compiled binary