Skip to content

Commit

Permalink
Fix: [GitHub][workflows] インストーラーのビルドに失敗する問題を修正
Browse files Browse the repository at this point in the history
卵が先か鶏が先か問題が発生してた
  • Loading branch information
tsukumijima committed Sep 21, 2023
1 parent 288aa11 commit b51f7e3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/build_installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,16 @@ jobs:
uses: actions/checkout@v3

# Python 3.11 環境をセットアップ
## 事前に Runner 自体に入っている Python に Poetry をインストールしておく必要がある
- name: Install Poetry (for Runner)
run: |
python -m pip install poetry
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'poetry'
cache-dependency-path: '${{ github.workspace }}/installer/poetry.lock'

# インストーラーの依存関係をインストール
- name: Install Dependencies
Expand Down Expand Up @@ -63,11 +68,16 @@ jobs:
uses: actions/checkout@v3

# Python 3.11 環境をセットアップ
## 事前に Runner 自体に入っている Python に Poetry をインストールしておく必要がある
- name: Install Poetry (for Runner)
run: |
python -m pip install poetry
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'poetry'
cache-dependency-path: '${{ github.workspace }}/installer/poetry.lock'

# インストーラーの依存関係をインストール
- name: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion installer/poetry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
in-project = true

[virtualenvs.options]
always-copy = true
always-copy = false

0 comments on commit b51f7e3

Please sign in to comment.