Skip to content

Commit

Permalink
add: Include general-rules via submodule
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
mrshu committed Nov 13, 2024
1 parent e0fdf6d commit 37c42e0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "general-rules"]
path = general-rules
url = [email protected]:robocup-junior/general-rules.git
1 change: 1 addition & 0 deletions general-rules
Submodule general-rules added at 02204c
2 changes: 2 additions & 0 deletions rules.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ organizer of your regional RoboCupJunior competition and ask them about_ <<entry
Unless specified otherwise, all parts of these rules are released under the
terms of the Creative Commons Attribution-ShareAlike License.

include::general-rules/general-rules.adoc[]

[discrete]
=== Changes from the 2024 RoboCupJunior Soccer Rules

Expand Down

0 comments on commit 37c42e0

Please sign in to comment.