Skip to content
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
4 changes: 2 additions & 2 deletions .github/workflows/Rocket.API.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: Setup .NET
with:
dotnet-version: 7.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Rocket.Core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: Setup .NET
with:
dotnet-version: 7.x
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Rocket.Unturned.Module.PR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: Setup .NET
with:
dotnet-version: 7.x

- name: Build
run: dotnet build ./Rocket.Unturned/Rocket.Unturned.csproj /p:RocketModVersion=0.0.0-preview /p:CreateRocketModUnturnedModuleArtifacts=true -c Release -f net461

- run: echo "::set-output name=commit_hash::$(git rev-parse --short ${{ github.sha }})"
- run: echo "name=commit_hash::$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_OUTPUT
id: commit_hash

- name: Upload Rocket.Unturned.Module Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Rocket.Unturned.Module.Build-${{ steps.commit_hash.outputs.commit_hash }}
path: "./Rocket.Unturned/Rocket.Unturned.Module.zip"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/Rocket.Unturned.Module.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: Setup .NET
with:
dotnet-version: 7.x
Expand All @@ -22,7 +22,7 @@ jobs:
run: dotnet build ./Rocket.Unturned/Rocket.Unturned.csproj /p:RocketModVersion=${{ github.ref_name }} /p:CreateRocketModUnturnedModuleArtifacts=true -c Release -f net461

- name: Upload build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build
path: "./Rocket.Unturned/Rocket.Unturned.Module.zip"
Expand All @@ -34,10 +34,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download build
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: build
path: ./build/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Rocket.Unturned.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-dotnet@v3
- uses: actions/setup-dotnet@v4
name: Setup .NET
with:
dotnet-version: 7.x
Expand Down