Skip to content

Commit

Permalink
Fix actions not checking out submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
psyGamer committed Jul 25, 2024
1 parent df2f85e commit 47fdb34
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/Build.CelesteStudio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
Expand Down Expand Up @@ -42,6 +44,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
Expand Down Expand Up @@ -76,6 +80,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'

- name: Build
run: dotnet build CelesteTAS-EverestInterop -c Debug
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0'

- name: Download Windows x64
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion CelesteTAS-EverestInterop/Communication/GameData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public static string GetModUrl() {
JumpThrus = level.Entities
.Where(e => e is JumpthruPlatform || e.GetType().Name is "SidewaysJumpThru" or "UpsideDownJumpThru")
.Select(e => {
if (e is JumpthruPlatform jumpThru) {
if (e is JumpthruPlatform) {
return (e.X, e.Y, e.Width, e.Height, GameState.Direction.Up, true);
}
if (e.GetType().Name == "SidewaysJumpThru") {
Expand Down

0 comments on commit 47fdb34

Please sign in to comment.