Skip to content

Commit 9c37606

Browse files
committed
Tweak CI
1 parent 11dc21f commit 9c37606

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/fetch-wxr-assets.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Get WXR normalizer
3030
run: |
31-
curl https://github.com/adamziel/wxr-normalize/raw/trunk/preprocess-wxr.phar > /tmp/preprocess-wxr.phar
31+
curl https://github.com/adamziel/wxr-normalize/raw/trunk/preprocess-wxr.phar > preprocess-wxr.phar
3232
3333
# TODO: Go by file paths listed under importWxr in blueprint.json
3434
- name: Validate file contents
@@ -53,7 +53,7 @@ jobs:
5353
echo "Normalizing $FILE"
5454
ASSETS_DIR=$(dirname $FILE)/wxr-assets
5555
mkdir -p $ASSETS_DIR
56-
php /tmp/preprocess-wxr.phar \
56+
php preprocess-wxr.phar \
5757
--wxr=$FILE \
5858
--downloads-path=$ASSETS_DIR \
5959
--new-assets-prefix=https://raw.githubusercontent.com/wordpress/blueprints/${{ github.head_ref }}/$ASSETS_DIR \
@@ -69,6 +69,7 @@ jobs:
6969
- name: Check for uncommitted changes
7070
id: changes
7171
run: |
72+
rm preprocess-wxr.phar*
7273
if [ -z "$(git status --porcelain)" ]; then
7374
echo "No changes"
7475
echo 'CHANGES=0' >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)