Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add submodules commands #4

Merged
merged 5 commits into from
Feb 27, 2024
Merged
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
15 changes: 14 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,23 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
# Fetches the main repo but skips automatic handling of submodules
submodules: false
fetch-depth: 0

# Manually handle submodules
- name: Handle Git Submodules
run: |
# Initialize submodules
git submodule update --init --recursive
# Sync submodules in case .gitmodules has been updated
git submodule sync --recursive
# Attempt to fix any specific submodule fetching issues here, if applicable

- name: Build
run: cargo build --verbose
Loading