mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Update GitHub CI workflow
This commit is contained in:
1 parent
d50b40ab35
commit
25964208ac
1 file changed
+10
-10
+10
-10
@@ -4,14 +4,14 @@ on: ["push", "pull_request"]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.nuget/packages
|
~/.nuget/packages
|
||||||
@@ -21,36 +21,36 @@ jobs:
|
|||||||
${{ runner.os }}-nuget-
|
${{ runner.os }}-nuget-
|
||||||
|
|
||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v2
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: 8.0.x
|
dotnet-version: 8.0.x
|
||||||
|
|
||||||
- name: Run the Cake script
|
- name: Run the Cake script
|
||||||
uses: cake-build/cake-action@v1
|
uses: cake-build/cake-action@v3
|
||||||
with:
|
with:
|
||||||
verbosity: Diagnostic
|
verbosity: Diagnostic
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Reactor.dll
|
name: Reactor.dll
|
||||||
path: Reactor/bin/Release/net6.0/Reactor.dll
|
path: Reactor/bin/Release/net6.0/Reactor.dll
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Reactor.nupkg
|
name: Reactor.nupkg
|
||||||
path: Reactor/bin/Release/Reactor.*.nupkg
|
path: Reactor/bin/Release/Reactor.*.nupkg
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Reactor.Networking.Shared.nupkg
|
name: Reactor.Networking.Shared.nupkg
|
||||||
path: Reactor.Networking.Shared/bin/Release/*.nupkg
|
path: Reactor.Networking.Shared/bin/Release/*.nupkg
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Reactor.Debugger.dll
|
name: Reactor.Debugger.dll
|
||||||
path: Reactor.Debugger/bin/Release/net6.0/Reactor.Debugger.dll
|
path: Reactor.Debugger/bin/Release/net6.0/Reactor.Debugger.dll
|
||||||
|
|
||||||
- uses: softprops/action-gh-release@v1
|
- uses: softprops/action-gh-release@v2
|
||||||
if: github.ref_type == 'tag'
|
if: github.ref_type == 'tag'
|
||||||
with:
|
with:
|
||||||
draft: true
|
draft: true
|
||||||
|
|||||||
Reference in new issue
Block a user