Try and fix bad SDK isssues

This commit is contained in:
Jordan Dominion
2025-04-12 22:48:36 -04:00
parent d330d50b05
commit d395849aab
2 changed files with 13 additions and 17 deletions
+12 -16
View File
@@ -105,13 +105,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgdiplus
- name: Workaround StrawberryShake Issues By removing Preinstalled NET 8 SDK
run: sudo rm -rf /usr/share/dotnet/sdk/*
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.TGS_DOTNET_VERSION }}.0.x
dotnet-version: |
${{ env.TGS_DOTNET_VERSION }}.0.x
${{ env.OD_DOTNET_VERSION }}.0.x
dotnet-quality: ${{ env.TGS_DOTNET_QUALITY }}
- name: Setup Node.JS
@@ -479,13 +478,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y -o APT::Immediate-Configure=0 libc6-i386 libstdc++6:i386 libgcc-s1:i386 libgdiplus
- name: Workaround StrawberryShake Issues By removing Preinstalled NET 8 SDK
run: sudo rm -rf /usr/share/dotnet/sdk/*
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.TGS_DOTNET_VERSION }}.0.x
dotnet-version: |
${{ env.TGS_DOTNET_VERSION }}.0.x
${{ env.OD_DOTNET_VERSION }}.0.x
dotnet-quality: ${{ env.TGS_DOTNET_QUALITY }}
- name: Setup Node.JS
@@ -552,7 +550,9 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.TGS_DOTNET_VERSION }}.0.x
dotnet-version: |
${{ env.TGS_DOTNET_VERSION }}.0.x
${{ env.OD_DOTNET_VERSION }}.0.x
dotnet-quality: ${{ env.TGS_DOTNET_QUALITY }}
- name: Setup Node.JS
@@ -883,9 +883,6 @@ jobs:
TGS_TELEMETRY_KEY_FILE: /tmp/tgs_telemetry_key.txt
runs-on: ubuntu-latest
steps:
- name: Workaround StrawberryShake Issues By removing Preinstalled NET 8 SDK
run: sudo rm -rf /usr/share/dotnet/sdk/*
- name: Setup dotnet (TGS)
uses: actions/setup-dotnet@v4
with:
@@ -1340,13 +1337,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y dotnet-sdk-${{ env.TGS_DOTNET_VERSION }}.0
- name: Workaround StrawberryShake Issues By removing Preinstalled NET 8 SDK
run: sudo rm -rf /usr/share/dotnet/sdk/*
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.TGS_DOTNET_VERSION }}.0.x
dotnet-version: |
${{ env.TGS_DOTNET_VERSION }}.0.x
${{ env.OD_DOTNET_VERSION }}.0.x
dotnet-quality: ${{ env.TGS_DOTNET_QUALITY }}
- name: Override /usr/bin/dotnet
+1 -1
View File
@@ -4,4 +4,4 @@
- [ ] Update CI dotnet version to ga
- [ ] Disable `TgsNetPreviewBuild` in Version.props
- [ ] Fix dependencies in debian build-package.sh and control
- [ ] Remove SDK uninstall steps in ci-pipeline.yml
- [ ] Remove OD SDK install steps for unit tests, codeql, and deb build in ci-pipeline.yml