Skip to content

Commit

Permalink
添加安装 SL 环境
Browse files Browse the repository at this point in the history
  • Loading branch information
wherewhere committed May 22, 2024
1 parent b5f0605 commit a533d15
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,16 @@ jobs:
uses: microsoft/setup-msbuild@v1
with:
msbuild-architecture: x64


# Install the Silverlight workload
- name: Download Silverlight
run: curl $env:SourceURL -o "silverlight_sdk.exe"
env:
SourceURL: https://web.archive.org/web/20190126163602if_/http://download.microsoft.com/download/3/A/3/3A35179D-5C87-4D0A-91EB-BF5FEDC601A4/sdk/silverlight_sdk.exe

- name: Install Silverlight
run: .\silverlight_sdk.exe /q

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
Expand Down

0 comments on commit a533d15

Please sign in to comment.