From 42c9c3a638704957578fa5a94800ff1865df5423 Mon Sep 17 00:00:00 2001 From: Sebastian Scatularo Date: Tue, 21 Nov 2023 08:56:47 -0300 Subject: [PATCH] fix all build upload to include package.json --- .github/workflows/preview.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 2fe58d382..cfef46659 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -277,11 +277,6 @@ jobs: uses: actions/download-artifact@v3 with: name: build-redirects - - name: Upload Portal Bridge Artifact - uses: actions/upload-artifact@v3 - with: - name: build-all - path: . - name: Set up GitHub NPM registry uses: actions/setup-node@v3 with: @@ -290,6 +285,11 @@ jobs: - name: Create Package.json run: | jq -n --arg version ${{ needs.token-bridge.outputs.pkg-version }} '{"name": "@xlabs/portal-bridge-ui", "version": $version }' > package.json + - name: Upload Portal Bridge Artifact + uses: actions/upload-artifact@v3 + with: + name: build-all + path: . - name: Publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}