diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c8231ee --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build + +on: + push: + branches: [ main, develop ] + pull_request: + branches: [ main, develop ] + workflow_dispatch: + +jobs: + build: + name: Build + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup .NET + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '10.0.x' + + - name: Build solution + run: dotnet build -c Release + diff --git a/README.md b/README.md index 8a37014..b7f5f1e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Shape2SqlServer [![Build status](https://ci.appveyor.com/api/projects/status/github/xfischer/Shape2SqlServer)](https://ci.appveyor.com/project/xfischer/Shape2SqlServer) +# Shape2SqlServer [![Build](https://github.com/xfischer/Shape2SqlServer/actions/workflows/build.yml/badge.svg)](https://github.com/xfischer/Shape2SqlServer/actions/workflows/build.yml) Easy and fast shapefile import to MS SQL Server