Skip to content

Commit d57a770

Browse files
committed
upload artifacts after build all
1 parent 8c0f859 commit d57a770

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/build_and_test.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,22 @@ jobs:
6161
run: |
6262
pnpm build:all
6363
64+
- name: Upload PGlite Interim to Github artifacts
65+
id: upload-pglite-interim-build-files
66+
uses: actions/upload-artifact@v4
67+
with:
68+
name: pglite-interim-build-files-node-v20.x
69+
path: ./packages/pglite/release/**
70+
retention-days: 30
71+
72+
- name: Upload pglite-tools build artifacts to Github artifacts
73+
id: upload-pglite-tools-release-files
74+
uses: actions/upload-artifact@v4
75+
with:
76+
name: pglite-tools-release-files-node-v20.x
77+
path: ./packages/pglite-tools/release/**
78+
retention-days: 30
79+
6480
- name: Install vitest globally
6581
run: pnpm i -g vitest tsx
6682

@@ -87,22 +103,6 @@ jobs:
87103
working-directory: ${{ github.workspace }}/packages/pglite
88104
run: pnpm test
89105

90-
- name: Upload PGlite Interim to Github artifacts
91-
id: upload-pglite-interim-build-files
92-
uses: actions/upload-artifact@v4
93-
with:
94-
name: pglite-interim-build-files-node-v20.x
95-
path: ./packages/pglite/release/**
96-
retention-days: 60
97-
98-
- name: Upload pglite-tools build artifacts to Github artifacts
99-
id: upload-pglite-tools-release-files
100-
uses: actions/upload-artifact@v4
101-
with:
102-
name: pglite-tools-release-files-node-v20.x
103-
path: ./packages/pglite-tools/release/**
104-
retention-days: 60
105-
106106
build-and-test-pglite:
107107
name: Build and Test packages/pglite
108108
runs-on: blacksmith-32vcpu-ubuntu-2204

0 commit comments

Comments
 (0)