From 18702bde0206f78b76dc4def3d1fb3d0cbfefe8d Mon Sep 17 00:00:00 2001 From: Manas Jayanth <3097018+ManasJayanth@users.noreply.github.com> Date: Mon, 20 May 2024 20:41:10 +0530 Subject: [PATCH] wip print artifacts --- .github/workflows/build.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb4651f..b59a9d9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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 @@ -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}}