Commit 9c37606 1 parent 11dc21f commit 9c37606 Copy full SHA for 9c37606
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 28
28
29
29
- name : Get WXR normalizer
30
30
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
32
32
33
33
# TODO: Go by file paths listed under importWxr in blueprint.json
34
34
- name : Validate file contents
53
53
echo "Normalizing $FILE"
54
54
ASSETS_DIR=$(dirname $FILE)/wxr-assets
55
55
mkdir -p $ASSETS_DIR
56
- php /tmp/ preprocess-wxr.phar \
56
+ php preprocess-wxr.phar \
57
57
--wxr=$FILE \
58
58
--downloads-path=$ASSETS_DIR \
59
59
--new-assets-prefix=https://raw.githubusercontent.com/wordpress/blueprints/${{ github.head_ref }}/$ASSETS_DIR \
69
69
- name : Check for uncommitted changes
70
70
id : changes
71
71
run : |
72
+ rm preprocess-wxr.phar*
72
73
if [ -z "$(git status --porcelain)" ]; then
73
74
echo "No changes"
74
75
echo 'CHANGES=0' >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments