Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
droyad committed Jan 23, 2024
1 parent d4473e8 commit c9e3d4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: windows-latest # Use Ubuntu in v5.0
runs-on: windows-latest

env:
DOTNET_NOLOGO: true
Expand All @@ -18,15 +18,9 @@ jobs:
with:
fetch-depth: 0 # all

- name: Setup .NET 2.0 # Remove in v5.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.0.x

- name: Setup .NET 8.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.0.x
- name: Install SQL CE 📅
shell: powershell
run: ./install-sql-ce.ps1

- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
Expand Down
5 changes: 5 additions & 0 deletions install-sql-ce.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$url = "https://download.microsoft.com/download/F/F/D/FFDF76E3-9E55-41DA-A750-1798B971936C/ENU/SSCERuntime_x64-ENU.exe"
$WebClient = New-Object System.Net.WebClient
$WebClient.DownloadFile($url ,"$env:TEMP/SSCERuntime_x64-ENU.exe");

Start-Process "$env:TEMP/SSCERuntime_x64-ENU.exe" -argumentlist "/i /quiet" -wait

0 comments on commit c9e3d4c

Please sign in to comment.