Skip to content

Commit d038e6a

Browse files
committed
[GR-72750] Fix macos downstream tests
PullRequest: graalpython/4209
2 parents 1a10489 + b3721fb commit d038e6a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/downstream-tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ jobs:
3535

3636
runs-on: ${{ matrix.os.id }}
3737
env:
38-
ARTIFACT_PATH: graalpy-native-standalone{{ matrix.os.platform }}
38+
ARTIFACT_PATH: graalpy-native-standalone${{ matrix.os.platform }}
3939
ARTIFACT_PATH_PREFIX: graalpynative
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4041

4142
steps:
4243
- name: Install CMake (Linux)
@@ -70,9 +71,9 @@ jobs:
7071
uses: actions/checkout@v4
7172

7273
- name: Get GraalPy EA build
73-
if: ${{ matrix.os.platform == 'darwin' }}
74+
if: ${{ matrix.os.platform == 'macos' }}
7475
run: |
75-
tarball="$(curl -s "https://api.github.com/repos/graalvm/graalvm-ce-dev-builds/releases/latest" | jq -r --arg artifact "graalpy-community-dev-${{ matrix.os.platform }}-${{matrix.os.arch}}.tar.gz" '.assets[] | select(.name == $artifact) | .browser_download_url')"
76+
tarball="$(curl -sH "Authorization: token $GITHUB_TOKEN" "https://api.github.com/repos/graalvm/graalvm-ce-dev-builds/releases/latest" | jq -r --arg artifact "graalpy-community-dev-${{ matrix.os.platform }}-${{matrix.os.arch}}.tar.gz" '.assets[] | select(.name == $artifact) | .browser_download_url')"
7677
curl -sfL "$tarball" | tar xz
7778
7879
- name: Get GraalPy build artifact

0 commit comments

Comments
 (0)