Skip to content

Commit 66e8a68

Browse files
authored
CI: Fix archive filename
1 parent e174cfd commit 66e8a68

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,25 +140,25 @@ jobs:
140140
run: |
141141
PLATFORM_CONF=""
142142
if [ "${{ matrix.confs.test }}" == "true" ]; then
143-
PLATFORM_CONF="$PLATFORM_CONF --examples=y --tests=y" >> $GITHUB_ENV
143+
PLATFORM_CONF="${PLATFORM_CONF} --examples=y --tests=y" >> $GITHUB_ENV
144144
fi
145145
# MinGW has some issues with unitybuild
146146
if [ "${{ matrix.confs.plat }}" != "mingw" ]; then
147-
PLATFORM_CONF="$PLATFORM_CONF --unitybuild=y" >> $GITHUB_ENV
147+
PLATFORM_CONF="${PLATFORM_CONF} --unitybuild=y" >> $GITHUB_ENV
148148
fi
149149
# Android and Emscripten don't support filesystem watcher
150150
if [ "${{ matrix.confs.plat }}" == "android" ] || [ "${{ matrix.confs.plat }}" == "wasm" ]; then
151-
PLATFORM_CONF="$PLATFORM_CONF --fs_watcher=n" >> $GITHUB_ENV
151+
PLATFORM_CONF="${PLATFORM_CONF} --fs_watcher=n" >> $GITHUB_ENV
152152
fi
153153
echo "ADDITIONAL_CONF=${{ env.ADDITIONAL_CONF }} $PLATFORM_CONF" >> $GITHUB_ENV
154154
FILENAME="nzsl_${{ matrix.confs.plat }}_${{ matrix.confs.arch }}_${{ matrix.kind }}"
155155
if [ "${{ startsWith(github.event.ref, 'refs/tags/') }}" == "false" ]; then
156-
FILENAME="$FILENAME_${{ matrix.confs.mode }}"
156+
FILENAME="${FILENAME}_${{ matrix.confs.mode }}"
157157
fi
158158
if [ "${{ matrix.confs.plat }}" == "windows" ]; then
159-
FILENAME="$FILENAME.zip"
159+
FILENAME="${FILENAME}.zip"
160160
else
161-
FILENAME="$FILENAME.tgz"
161+
FILENAME="${FILENAME}.tgz"
162162
fi
163163
echo "OUTPUT_FILE=$FILENAME" >> $GITHUB_ENV
164164

0 commit comments

Comments
 (0)