Skip to content

Commit 746a755

Browse files
committed
SDK バージョン情報の出力名を修正し、インストールコマンドを更新する
1 parent 8e3f22c commit 746a755

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
get_sdk_version:
3131
runs-on: ubuntu-latest
3232
outputs:
33-
version: ${{ steps.version.outputs.version }}
33+
sdk_version: ${{ steps.version.outputs.sdk_version }}
3434
steps:
3535
- uses: actions/checkout@v4
3636
with:
@@ -39,9 +39,9 @@ jobs:
3939
sparse-checkout-cone-mode: false
4040
- id: version
4141
run: |
42-
VERSION=$(cat VERSION)
43-
echo "version=$VERSION" >> $GITHUB_OUTPUT
44-
echo "SDK Version: $VERSION"
42+
SDK_VERSION=$(cat VERSION)
43+
echo "sdk_version=$SDK_VERSION" >> $GITHUB_OUTPUT
44+
echo "SDK Version: $SDK_VERSION"
4545
4646
# まず pyi を生成する
4747
# クロスコンパイル環境だと pyi が生成できないので、
@@ -201,7 +201,7 @@ jobs:
201201
- run: |
202202
# 仮想環境を作成してテスト
203203
uv venv --python ${{ matrix.version.python }}
204-
uv pip install dist/sora_sdk-${{ needs.get_sdk_version.outputs.version }}-cp${{ matrix.version.pkg }}-cp${{ matrix.version.pkg }}-${{ matrix.platform.pytag }}.whl
204+
uv pip install dist/sora_sdk-${{ needs.get_sdk_version.outputs.sdk_version }}-cp${{ matrix.version.pkg }}-cp${{ matrix.version.pkg }}-${{ matrix.platform.pytag }}.whl
205205
uv run python -c "import sora_sdk; print(sora_sdk.get_video_codec_capability().to_json())"
206206
207207
build_ubuntu_arm:

0 commit comments

Comments
 (0)