8000 Fix GitHub Actions for submodule checkout by sakastudio · Pull Request #531 · moorestech/moorestech · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix GitHub Actions for submodule checkout #531

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

Merged
merged 2 commits into from
May 20, 2025
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ jobs:
steps:
# Checkout
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0 # submodule の履歴も取得できるように
submodules: recursive
- name: Update submodules
run: |
git submodule sync --recursive # URL 変更を反映
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ jobs:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}

# actions/checkout@v2 を利用して作業ディレクトリに
# Unity プロジェクトの中身をダウンロードしてくる
# リポジトリとサブモジュールをチェックアウト
- name: Check out my unity project.
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0

# GameCI の Test runner を利用して
# EditMode 及び PlayMode のテストを実行する
Expand Down
1 change: 1 addition & 0 deletions memory-bank/activeContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- アンロックシステムに関する詳細な分析と文書化
- チャレンジシステムに関する詳細な分析と文書化
- 現在挑戦中のチャレンジの永続化の実装
- CIがサブモジュールに対応するようワークフローを修正

## 次のステップ

Expand Down
3 changes: 2 additions & 1 deletion memory-bank/progress.md
C987
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@
- **コーディング規約の遵守**: プロジェクトのコーディング規約に従った開発の実施を決定
- **アンロックシステムの活用**: ゲームの進行に応じたコンテンツの段階的な解放の設計を決定
- **チャレンジシステムの活用**: プレイヤーに目標を提供し、ゲームの進行を導くチャレンジの設計を決定
- **システム間の連携の強化**: アンロックシステム、チャレンジシステム、クラフトシステムなど、システム間の連携を強化し、統合的なゲーム体験を提供することを決定
- **システム間の連携の強化**: アンロックシステム、チャレンジシステム、クラフトシステムなど、システム間の連携を強化し、統合的なゲーム体験を提供することを決定
- **CI改善**: サブモジュールをHTTPSに変更し、GitHub Actionsでのチェックアウトを容易にした
6 changes: 2 additions & 4 deletions memory-bank/techContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@
git clone https://github.com/moorestech/moorestech.git
cd moorestech

# サブツリーの設定
git remote add schema git@github.com:moorestech/VanillaSchema.git
git fetch schema
git subtree add --prefix=schema --squash schema main
# サブモジュールの初期化
git submodule update --init --recursive
```

## 技術的制約
Expand Down
Loading
0