Skip to content

Commit

Permalink
📝 Chore(Actions): Try to checkout sub-submodules standalone.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dynesshely committed Feb 25, 2024
1 parent b3f8fa1 commit f99b3dc
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 25 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build-loaders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,20 @@ jobs:
ref: dev=main
submodules: "true"

- name: Checkout KitX SDK
uses: actions/checkout@v4
with:
repository: "Crequency/KitX-SDK"
ref: "dev=main"
path: "KitX SDK"
submodules: "true"

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
- uses: actions/checkout@v4
- run: |
cd "KitX SDK"
git submodule update --init --recursive
- name: Build Loaders
working-directory: "KitX SDK/KitX Loaders"
run: |
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/build-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,20 @@ jobs:
ref: dev=main
submodules: "true"

- name: Checkout KitX SDK
uses: actions/checkout@v4
with:
repository: "Crequency/KitX-SDK"
ref: "dev=main"
path: "KitX SDK"
submodules: "true"

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
- uses: actions/checkout@v4
- run: |
cd "KitX SDK"
git submodule update --init --recursive
- name: Build Plugins
working-directory: "KitX SDK/KitX Plugins"
run: |
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,20 @@ jobs:
ref: dev=main
submodules: "true"

- name: Checkout KitX Standard
uses: actions/checkout@v4
with:
repository: "Crequency/KitX-Standard"
ref: "dev=main"
path: "KitX Standard"
submodules: "true"

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
- uses: actions/checkout@v4
- run: |
cd "KitX Standard"
git submodule update --init --recursive
- name: Build Contracts
working-directory: "KitX Standard/KitX Contracts"
run: |
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,28 @@ jobs:
ref: dev=main
submodules: "true"

- name: Checkout KitX Standard
uses: actions/checkout@v4
with:
repository: "Crequency/KitX-Standard"
ref: "dev=main"
path: "KitX Standard"
submodules: "true"

- name: Checkout KitX SDK
uses: actions/checkout@v4
with:
repository: "Crequency/KitX-SDK"
ref: "dev=main"
path: "KitX SDK"
submodules: "true"

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
8.0.x
- uses: actions/checkout@v4
- run: |
cd "KitX Standard"
git submodule update --init --recursive
- uses: actions/checkout@v4
- run: |
cd "KitX SDK"
git submodule update --init --recursive
- name: Add to GitHub Repo
run: |
nuget sources add -name github -Source https://nuget.pkg.github.com/Crequency/index.json -Username Crequency -Password ${{ secrets.GitHubToken }}
Expand Down

0 comments on commit f99b3dc

Please sign in to comment.