From 37c42e07950cbf0f6265281019e335a6ecf66c86 Mon Sep 17 00:00:00 2001 From: "mr.Shu" Date: Wed, 13 Nov 2024 21:23:10 +0100 Subject: [PATCH] add: Include general-rules via submodule * Include the general rules from the `general-rules` submodule * Update the .github/workflows/build.yml to use a new version of the `checkout` action. Signed-off-by: mr.Shu --- .github/workflows/build.yml | 4 +++- .gitmodules | 3 +++ general-rules | 1 + rules.adoc | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 general-rules diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a743ad3..f523936 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,9 @@ jobs: name: build runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + with: + submodules: true - name: build the rules run: | diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1762d30 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "general-rules"] + path = general-rules + url = git@github.com:robocup-junior/general-rules.git diff --git a/general-rules b/general-rules new file mode 160000 index 0000000..02204c2 --- /dev/null +++ b/general-rules @@ -0,0 +1 @@ +Subproject commit 02204c20f266f19f213edcabe9dc64bfe4021be4 diff --git a/rules.adoc b/rules.adoc index 335e18c..442c9ae 100644 --- a/rules.adoc +++ b/rules.adoc @@ -78,6 +78,8 @@ organizer of your regional RoboCupJunior competition and ask them about_ <