Skip to content

Commit 6a91421

Browse files
authored
WPT: Fix malfunctioning excludes (#7)
@fhanau observed that the exclude list in #5 wasn't working properly. I've tried it out on a Linux machine, and am pretty sure this version should work
1 parent e0f3042 commit 6a91421

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/wpt.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -22,12 +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-
2825
RELEASE_NAME=wpt-$(git rev-parse --short HEAD)
2926
gh release create -R ${{ github.repository }} $RELEASE_NAME || true
30-
git archive --prefix=$RELEASE_NAME/ -o $RELEASE_NAME.tar.gz HEAD $FILE_FILTER
27+
28+
# Excludes ~70% of files, making this archive faster to process
29+
git archive --prefix=$RELEASE_NAME/ -o $RELEASE_NAME.tar.gz HEAD ':(exclude)css' ':(exclude)html' ':(exclude)conformance-checkers' ':(exclude)svg'
30+
3131
gh release upload -R ${{ github.repository }} $RELEASE_NAME $RELEASE_NAME.tar.gz
3232
env:
3333
GITHUB_TOKEN: ${{ github.TOKEN }}

0 commit comments

Comments
 (0)