Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to .NET 8.0 #65

Merged
merged 2 commits into from
Jun 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
SemVer: ${{ steps.gitversion.outputs.semVer }}
ShortSha: ${{ steps.gitversion.outputs.shortSha }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0.10.2
uses: gittools/actions/gitversion/setup@v1.1.1
with:
versionSpec: x # Latest
- name: Use GitVersion
id: gitversion
uses: gittools/actions/gitversion/execute@v0.10.2
uses: gittools/actions/gitversion/execute@v1.1.1

build_and_test:
runs-on: ubuntu-latest
outputs:
artifact_name: ${{ steps.prepare_artifacts.outputs.artifact_name }}
needs: prepare
steps:
- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0
- uses: actions/checkout@v3
dotnet-version: 8.0
- uses: actions/checkout@v4
- name: Build
run: dotnet build -c Release
- name: Test
Expand All @@ -44,7 +44,7 @@ jobs:
cp {README,xvd_info,CHANGELOG}.md release
echo "artifact_name=XVDTool-${{ needs.prepare.outputs.SemVer }}-${{ needs.prepare.outputs.ShortSha }}" >> $GITHUB_OUTPUT
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ steps.prepare_artifacts.outputs.artifact_name }}
path: release
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Generate zip
run: zip -j XVDTool-${{ needs.prepare.outputs.AssemblySemVer }}.zip ${{ needs.build_and_test.outputs.artifact_name }}/*
- name: Create release (on tag)
uses: softprops/action-gh-release@e99df7cd8088d9c5dddab02bf975f62025a6e760
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.ref }}
tag_name: ${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion DurangoKeyExtractor/DurangoKeyExtractor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NDesk.Options.Core" Version="1.2.5" />
Expand Down
2 changes: 1 addition & 1 deletion LibXboxOne.Tests/LibXboxOne.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<IsPublishable>false</IsPublishable>
Expand Down
2 changes: 1 addition & 1 deletion LibXboxOne/LibXboxOne.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Folder Include="NAND\" />
Expand Down
2 changes: 1 addition & 1 deletion XBFSTool/XBFSTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NDesk.Options.Core" Version="1.2.5" />
Expand Down
2 changes: 1 addition & 1 deletion XVDTool/XVDTool.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NDesk.Options.Core" Version="1.2.5" />
Expand Down
Loading