Skip to content

Commit

Permalink
Java module (#303)
Browse files Browse the repository at this point in the history
* add java classfiles

* add java packages submodule

* remove old folder

* include module

* use checkout submodules

* checkout submodules in PR

* commit submodule

* update submodule

* move java-packages

* update submodule

* bump submodule

* fix copy command

* update submodules

---------

Co-authored-by: Martin Henz <[email protected]>
  • Loading branch information
Chang-CH and martin-henz authored Apr 4, 2024
1 parent 2d4a566 commit a58b60b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
submodules: recursive

- name: Use Node.js 💻
uses: actions/setup-node@v4
Expand All @@ -28,6 +30,10 @@ jobs:

- name: Build Modules 🔧
run: yarn build --tsc --lint


- name: include java json
run: cp -r src/java-packages build

- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ jobs:
steps:
- name: Check out source code
uses: actions/checkout@v4

with:
submodules: recursive

- name: Use Node.js 💻
uses: actions/setup-node@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "src/java/java-packages"]
path = src/java/java-packages
url = https://github.com/source-academy/java-packages
[submodule "src/java-packages"]
path = src/java-packages
url = https://github.com/source-academy/java-packages
1 change: 1 addition & 0 deletions src/java-packages
Submodule java-packages added at db850e

0 comments on commit a58b60b

Please sign in to comment.