Skip to content

Update ci.yml

Update ci.yml #16

Workflow file for this run

name: Build on CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
name: Deploy
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Install esy
run: npm install -g esy@dev
- uses: esy/github-action@6a5070d392db3e8c776724674737cab37c07263d
with:
source-cache-key: 20240624-1
cache-key: ${{ hashFiles('esy.lock/index.json') }}-20240511-1
esy-prefix: ${{ runner.os == 'Windows' && "D:/.esy" || $HOME }}

Check failure on line 27 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Build on CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 27, Col: 23): Unexpected symbol: '"D:/'. Located at position 27 within expression: runner.os == 'Windows' && "D:/.esy" || $HOME
- name: Export esy cache
run: esy export-dependencies
- uses: actions/[email protected]
with:
name: dependencies-cache-${{ matrix.os }}
path: _export