Skip to content

wip print artifacts #109

wip print artifacts

wip print artifacts #109

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
outputs:
linux-x64: ${{ steps.prepare-npm-artifacts.ouputs.linux-x64 }}
windows-x64: ${{ steps.prepare-npm-artifacts.ouputs.windows-x64 }}
darwin-x64: ${{ steps.prepare-npm-artifacts.ouputs.darwin-x64 }}
darwin-arm64: ${{ steps.prepare-npm-artifacts.ouputs.darwin-arm64 }}
steps:
- uses: actions/setup-node@v4
- uses: actions/checkout@v4
- name: Install esy
run: npm install -g esy
- uses: esy/github-action@d504f1813939f7821ce4c8ed855ddfcf8b390761
with:
source-cache-key: 20240515-1
cache-key: ${{ hashFiles('esy.lock/index.json') }}-20240515-1
- uses: esy/github-action@444f3afcddbe04e2c5994f3e3624001dae88d539
id: prepare-npm-artifacts
with:
source-cache-key: 20240515-1
cache-key: ${{ hashFiles('esy.lock/index.json') }}-20240515-1
prepare-npm-artifacts-mode: true
- name: Test
run: esy test
- name: Build docs
run: esy doc
bundle:
needs: build
runs-on: macos-latest
steps:
- uses: esy/github-action@1c6b4985a804f66645178ac67c569de0512bba83
with:
source-cache-key: 20240515-1
cache-key: ${{ hashFiles('esy.lock/index.json') }}-20240515-1
bundle-npm-artifacts-mode: true
artifact-ids:
- ${{needs.build.outputs.linux-x64}}

Check failure on line 47 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 47, Col: 13): A sequence was not expected
- ${{needs.build.outputs.windows-x64}}
- ${{needs.build.outputs.darwin-x64}}
- ${{needs.build.outputs.darwin-arm64}}