Skip to content

Commit

Permalink
wpt: Include all files in archive (#5)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
npaun authored Mar 5, 2025
1 parent d6b3ca4 commit b1026e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/wpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ jobs:
- name: Create Github Release
shell: bash
run: |
# Excludes ~70% of files, making this archive faster to process
FILE_FILTER=(':(exclude)css' ':(exclude)html' ':(exclude)conformance-checkers' ':(exclude)svg')

RELEASE_NAME=wpt-$(git rev-parse --short HEAD)
gh release create -R ${{ github.repository }} $RELEASE_NAME || true
git archive --prefix=$RELEASE_NAME/ -o $RELEASE_NAME.tar.gz HEAD '*.js' '*.json' '*.md'
git archive --prefix=$RELEASE_NAME/ -o $RELEASE_NAME.tar.gz HEAD $FILE_FILTER
gh release upload -R ${{ github.repository }} $RELEASE_NAME $RELEASE_NAME.tar.gz
env:
GITHUB_TOKEN: ${{ github.TOKEN }}

0 comments on commit b1026e1

Please sign in to comment.