Skip to content

Commit

Permalink
[Azure Pipelines] fix Firefox Nightly cask URL
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Apr 30, 2024
1 parent 99f5bfc commit 83da40e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tools/ci/azure/install_chrome.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
steps:
# The conflicting google-chrome and chromedriver casks are first uninstalled.
# The raw google-chrome-dev cask URL is used to bypass caching.
# The raw google-chrome@dev.rb cask URL is used to bypass caching.
- script: |
set -eux -o pipefail
HOMEBREW_NO_AUTO_UPDATE=1 brew uninstall --cask google-chrome || true
Expand Down
7 changes: 3 additions & 4 deletions tools/ci/azure/install_firefox.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
steps:
# This is equivalent to `Homebrew/homebrew-cask-versions/firefox-nightly`,
# but the raw URL is used to bypass caching.
# The raw [email protected] cask URL is used to bypass caching.
- script: |
set -eux -o pipefail
curl https://raw.githubusercontent.com/Homebrew/homebrew-cask-versions/master/Casks/firefox-nightly.rb > firefox-nightly.rb
HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask firefox-nightly.rb
curl https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/f/firefox@nightly.rb > firefox@nightly.rb
HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask firefox@nightly.rb
displayName: 'Install Firefox Nightly'
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))

0 comments on commit 83da40e

Please sign in to comment.