summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaoto Ono <onoto1998@gmail.com>2024-02-24 17:53:38 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-02-25 12:50:42 +0900
commit2c0cf6837cc22d2d240f743d54a93f4dbe5acf5c (patch)
tree65fcb816642a77683ab8fdb42a0030ab18c059ea
parente9e752c7efe95e7166c7bb59277b6e3afe11851c (diff)
Launchable: Fix the warning of pip
-rw-r--r--.github/workflows/macos.yml6
1 files 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')"