Try different windows lamdera setup config.

This commit is contained in:
Dillon Kearns 2022-08-22 13:30:41 -07:00
parent f4c50f9310
commit 0d15ec9dee

View File

@ -112,6 +112,15 @@ jobs:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Download lamdera
shell: bash
run: curl https://static.lamdera.com/bin/win/lamdera.exe -o ./lamdera && chmod a+x ./lamdera
- name: Add Lamdera to path
shell: bash
run: echo "$GITHUB_WORKSPACE\\lamdera" >> $GITHUB_PATH
- name: Confirm that lamdera is on path
shell: bash
run: lamdera --version && which lamdera
- name: Use Node.js 16 - name: Use Node.js 16
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
@ -125,15 +134,6 @@ jobs:
~/.cache/Cypress ~/.cache/Cypress
node_modules node_modules
key: node_modules-node-windows-v${{ matrix.node }}-${{ hashFiles('package-lock.json') }} key: node_modules-node-windows-v${{ matrix.node }}-${{ hashFiles('package-lock.json') }}
- name: Download lamdera
shell: bash
run: curl https://static.lamdera.com/bin/win/lamdera.exe -o ./lamdera && chmod a+x ./lamdera
- name: Add Lamdera to path
shell: bash
run: echo "$GITHUB_WORKSPACE" >> $GITHUB_PATH
- name: Confirm that lamdera is on path
shell: bash
run: lamdera --version
- run: git config core.autocrlf true - run: git config core.autocrlf true
# Re-use ~/.elm between runs until elm.json, elm-tooling.json or # Re-use ~/.elm between runs until elm.json, elm-tooling.json or
# review/elm.json changes. The Elm compiler saves downloaded Elm packages # review/elm.json changes. The Elm compiler saves downloaded Elm packages