From 2c0cf6837cc22d2d240f743d54a93f4dbe5acf5c Mon Sep 17 00:00:00 2001 From: Naoto Ono Date: Sat, 24 Feb 2024 17:53:38 +0900 Subject: [PATCH] Launchable: Fix the warning of pip --- .github/workflows/macos.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index b0d03547aa..9e720fcec0 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -115,7 +115,7 @@ jobs: - name: Set up Python uses: actions/setup-python@871daa956ca9ea99f3c3e30acb424b7960676734 # v5.0.0 with: - python-version: "3.10" + python-version: "3.x" if: steps.enable_launchable.outputs.enable_launchable - name: Set up Java @@ -128,7 +128,9 @@ jobs: - name: Set up Launchable run: | set -x - pip install launchable + PATH=$PATH:$(python -msite --user-base)/bin + echo "PATH=$PATH" >> $GITHUB_ENV + pip install --user launchable launchable verify : # The build name cannot include a slash, so we replace the string here. github_ref="$(echo ${{ github.ref }} | sed 's/\//_/g')"