Skip to content

Commit

Permalink
wip print artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
ManasJayanth committed May 20, 2024
1 parent b716079 commit 18702bd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
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
Expand All @@ -18,6 +23,7 @@ jobs:
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
Expand All @@ -32,8 +38,13 @@ jobs:
needs: build
runs-on: macos-latest
steps:
- uses: esy/github-action@a945a058350152e90fbae994fe17d18142ccb5ee
- 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}}
- ${{needs.build.outputs.windows-x64}}
- ${{needs.build.outputs.darwin-x64}}
- ${{needs.build.outputs.darwin-arm64}}

0 comments on commit 18702bd

Please sign in to comment.