Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelff committed Feb 14, 2024
1 parent 37ce496 commit 6976b78
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/wasm-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,11 @@ jobs:
sqlite_size: ${{ steps.measure.outputs.sqlite_size }}
sqlite_size_gz: ${{ steps.measure.outputs.sqlite_size_gz }}
steps:
# remove before merging
- name: 'tmp: Checkout PR branch'
uses: actions/checkout@v4
- run: cp Makefile /tmp/prisma-engines-Makefile

- name: Checkout base branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.sha }}

# remove before merging
- run: mv /tmp/prisma-engines-Makefile Makefile

- uses: ./.github/workflows/include/rust-wasm-setup

- name: Build and measure base branch
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,7 @@ build-qe-wasm:
build-qe-wasm-gz: build-qe-wasm
@cd query-engine/query-engine-wasm/pkg && \
for provider in postgresql mysql sqlite; do \
tar -I 'gzip -n' --format=ustar \
--mtime='1970-01-01 00:00:00' --sort=name \
--numeric-owner --owner=0 --group=0 \
-cvf $$provider.gz $$provider; \
tar -zcvf $$provider.gz $$provider; \
done;

build-schema-wasm:
Expand Down

0 comments on commit 6976b78

Please sign in to comment.