Skip to content

Commit

Permalink
fix(ci): set fixed framework sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsee committed Jul 9, 2023
1 parent afeafa5 commit cb9c90c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/dotnet-desktop-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0

- name: Nuget package cache
uses: actions/cache@v3
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
restore-keys: |
${{ runner.os }}-nuget-
dotnet-version: 7.0.305

- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0
dotnet-version: 7.0.305

- name: Checkout
uses: actions/checkout@v3
Expand All @@ -36,7 +36,7 @@ jobs:

- name: Build the application
run: |
dotnet publish -c Release -o ../output -a x64 --self-contained /p:Version=$env:BUILD_VERSION /p:FileVersion=$env:BUILD_VERSION
dotnet publish -c Release -o ../output -a x64 --self-contained /p:Version=$env:BUILD_VERSION /p:FileVersion=$env:INFO_VERSION
working-directory: ./src

- name: Building the installer
Expand Down
2 changes: 1 addition & 1 deletion tools/setup/Setup.iss
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Source: "..\..\output\Microsoft.Win32.Registry.AccessControl.dll"; DestDir: "{ap
Source: "..\..\output\Microsoft.Win32.Registry.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\..\output\Microsoft.Win32.SystemEvents.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\..\output\mscordaccore.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\..\output\mscordaccore_amd64_amd64_7.0.523.17405.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\..\output\mscordaccore_amd64_amd64_7.0.823.31807.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\..\output\mscordbi.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\..\output\mscorlib.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\..\output\mscorrc.dll"; DestDir: "{app}"; Flags: ignoreversion
Expand Down

0 comments on commit cb9c90c

Please sign in to comment.