Skip to content

Commit

Permalink
[mojo] Switch CI install to headless auth
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Spokane <[email protected]>
  • Loading branch information
frspokan committed Jun 25, 2024
1 parent ddf9b11 commit 2adff7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/standard_library_tests_and_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,8 @@ jobs:
- name: Install nightly Mojo compiler
run: |
# The <auth_token> 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
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/test_pre_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
- name: Install nightly Mojo compiler
run: |
# The <auth_token> 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
Expand Down

0 comments on commit 2adff7d

Please sign in to comment.