Skip to content

Commit

Permalink
ci: cache webview installer (#4935)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilbk committed May 9, 2024
1 parent 42bafa8 commit c3b5768
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/setup-tauri/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@ runs:
if: ${{ runner.os == 'Linux' }}
run: sudo apt-get install at-spi2-core xvfb
shell: bash
- name: Download WebView2 bootstrapper
- uses: actions/cache@v4
if: ${{ runner.os == 'Windows' }}
id: cache-webview2-installer
with:
path: WebView2Installer.exe
key: ${{ runner.os }}-${{ runner.arch }}-webview2-installer
- name: Download WebView2 bootstrapper
if: ${{ runner.os == 'Windows' && steps.cache-webview2-installer.outputs.cache-hit != 'true' }}
# This is the "Evergreen" bootstrapper from Microsoft
# <https://developer.microsoft.com/en-us/microsoft-edge/webview2/?form=MA13LH#download>
# Unfortunately, this makes the test non-deterministic.
Expand Down

0 comments on commit c3b5768

Please sign in to comment.