mirror of
https://github.com/SK-la/osu-framework.git
synced 2026-03-15 03:20:30 +00:00
Adjust CI workflows
This commit is contained in:
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@@ -9,10 +9,10 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Restore Tools
|
||||
run: dotnet tool restore
|
||||
@@ -69,10 +69,10 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
@@ -114,10 +114,10 @@ jobs:
|
||||
distribution: microsoft
|
||||
java-version: 11
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Restore .NET workloads
|
||||
run: dotnet workload install android
|
||||
@@ -133,10 +133,10 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Restore .NET workloads
|
||||
# `dotnet workload restore` is bugged in .NET 7.0.101+ when restoring iOS projects,
|
||||
|
||||
4
.github/workflows/deploy-nativelibs.yml
vendored
4
.github/workflows/deploy-nativelibs.yml
vendored
@@ -46,10 +46,10 @@ jobs:
|
||||
id: artifactsPath
|
||||
run: echo "::set-output name=NUGET_ARTIFACTS::${{github.workspace}}/artifacts"
|
||||
|
||||
- name: Setup .NET 6.0.x
|
||||
- name: Setup .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Build NativeLibs
|
||||
run: dotnet pack -c Release osu.Framework.NativeLibs /p:Configuration=Release /p:Version=${{needs.check-if-tag.outputs.version}} /p:GenerateDocumentationFile=true -o ${{steps.artifactsPath.outputs.nuget_artifacts}}
|
||||
|
||||
16
.github/workflows/deploy-pack.yml
vendored
16
.github/workflows/deploy-pack.yml
vendored
@@ -53,10 +53,10 @@ jobs:
|
||||
id: artifactsPath
|
||||
run: echo "::set-output name=NUGET_ARTIFACTS::${{github.workspace}}\artifacts"
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Pack (Framework)
|
||||
run: dotnet pack -c Release osu.Framework /p:Version=${{ github.ref_name }} /p:GenerateDocumentationFile=true /p:IncludeSymbols=true /p:SymbolPackageFormat=snupkg -o ${{steps.artifactsPath.outputs.nuget_artifacts}}
|
||||
@@ -84,10 +84,10 @@ jobs:
|
||||
id: artifactsPath
|
||||
run: echo "::set-output name=NUGET_ARTIFACTS::${{github.workspace}}/artifacts"
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Replace project references
|
||||
run: osu.Framework.Templates/replace-references.sh ${{ github.ref_name }}
|
||||
@@ -119,10 +119,10 @@ jobs:
|
||||
id: artifactsPath
|
||||
run: echo "::set-output name=NUGET_ARTIFACTS::${{github.workspace}}\artifacts"
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Setup JDK 11
|
||||
uses: actions/setup-java@v3
|
||||
@@ -160,10 +160,10 @@ jobs:
|
||||
id: artifactsPath
|
||||
run: echo "::set-output name=NUGET_ARTIFACTS::${{github.workspace}}/artifacts"
|
||||
|
||||
- name: Install .NET 6.0.x
|
||||
- name: Install .NET 8.0.x
|
||||
uses: actions/setup-dotnet@v3
|
||||
with:
|
||||
dotnet-version: "6.0.x"
|
||||
dotnet-version: "8.0.x"
|
||||
|
||||
- name: Restore .NET Workloads
|
||||
# `dotnet workload restore` is bugged in .NET 7.0.101+ when restoring iOS projects,
|
||||
|
||||
Reference in New Issue
Block a user