Skip to content

Commit 46d2447

Browse files
committed
wpt: Include all files in archive
Now that we're running the fetch tests, excluding files by type doesn't make sense any more. For example, we need to run the Python backend, use the self-signed certificate, server text files, etc.
1 parent d6b3ca4 commit 46d2447

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/wpt.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ jobs:
2222
- name: Create Github Release
2323
shell: bash
2424
run: |
25+
# Excludes ~70% of files, making this archive faster to process
26+
FILE_FILTER=(':(exclude)css' ':(exclude)html' ':(exclude)conformance-checkers' ':(exclude)svg')
27+
2528
RELEASE_NAME=wpt-$(git rev-parse --short HEAD)
2629
gh release create -R ${{ github.repository }} $RELEASE_NAME || true
27-
git archive --prefix=$RELEASE_NAME/ -o $RELEASE_NAME.tar.gz HEAD '*.js' '*.json' '*.md'
30+
git archive --prefix=$RELEASE_NAME/ -o $RELEASE_NAME.tar.gz HEAD $FILE_FILTER
2831
gh release upload -R ${{ github.repository }} $RELEASE_NAME $RELEASE_NAME.tar.gz
2932
env:
3033
GITHUB_TOKEN: ${{ github.TOKEN }}

0 commit comments

Comments
 (0)