From 2adff7dd63a5c9675e00efcaf255a4a785e0692c Mon Sep 17 00:00:00 2001 From: Frank Spokane Date: Tue, 25 Jun 2024 12:50:29 -0400 Subject: [PATCH] [mojo] Switch CI install to headless auth Signed-off-by: Frank Spokane --- .github/workflows/standard_library_tests_and_examples.yml | 5 ++--- .github/workflows/test_pre_commit.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/standard_library_tests_and_examples.yml b/.github/workflows/standard_library_tests_and_examples.yml index 6fa22ec469..083e7e3620 100644 --- a/.github/workflows/standard_library_tests_and_examples.yml +++ b/.github/workflows/standard_library_tests_and_examples.yml @@ -50,9 +50,8 @@ jobs: - name: Install nightly Mojo compiler run: | - # The of "examples" is arbitrary but something - # needs to be provided. - modular auth examples + export MODULAR_ACCESS_TOKEN=${{ secrets.CI_MODULAR_ACCESS_TOKEN_AUTOMATION }} + modular auth modular install nightly/mojo # Put Mojo on the PATH diff --git a/.github/workflows/test_pre_commit.yml b/.github/workflows/test_pre_commit.yml index 00a344f90e..5d5ac4aa97 100644 --- a/.github/workflows/test_pre_commit.yml +++ b/.github/workflows/test_pre_commit.yml @@ -42,9 +42,8 @@ jobs: - name: Install nightly Mojo compiler run: | - # The of "examples" is arbitrary but something - # needs to be provided. - modular auth examples + export MODULAR_ACCESS_TOKEN=${{ secrets.CI_MODULAR_ACCESS_TOKEN_AUTOMATION }} + modular auth modular install nightly/mojo # Put Mojo on the PATH