From 4da3965dac0ec560be7783582f6bb09528ddd9aa Mon Sep 17 00:00:00 2001 From: "jj@jjsweb.site" Date: Sat, 30 Oct 2021 01:18:26 -0500 Subject: [PATCH] Ensure native binary is available for release stats --- .github/workflows/build_test_deploy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 19e4d8d7e3d40..7066c080bcfff 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -474,13 +474,21 @@ jobs: releaseStats: name: Release Stats runs-on: ubuntu-latest - needs: [publishRelease] + needs: [publishRelease, build-native-dev] steps: - uses: actions/cache@v2 id: restore-build with: path: ./* key: ${{ github.sha }} + + - uses: actions/download-artifact@v2 + with: + name: next-swc-dev-binary + path: packages/next/native + + - run: cp -r packages/next/native .github/actions/next-stats-action/native + - run: ./scripts/release-stats.sh - uses: ./.github/actions/next-stats-action env: