Skip to content

Commit fb29d59

Browse files
authored
remove some redundant commans
1 parent 93f94e1 commit fb29d59

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ jobs:
7171
echo "Resetting to $TAG ..."
7272
cd ./binaryen
7373
git reset --hard "$TAG"
74-
git clean -f
7574
git log -n1
7675
cd ..
7776
echo "RELEASE=1" >> $GITHUB_ENV
@@ -83,7 +82,6 @@ jobs:
8382
run: |
8483
mkdir -p ./binaryen/build
8584
cd ./binaryen/build
86-
source $HOME/emsdk/emsdk_env.sh
8785
emcc --version
8886
emcmake cmake .. -G Ninja \
8987
-DCMAKE_BUILD_TYPE=Release \
@@ -104,17 +102,16 @@ jobs:
104102
run: |
105103
mkdir -p ./bin
106104
cd ./binaryen/build
107-
source $HOME/emsdk/emsdk_env.sh
108105
for tool in ${{ env.BINARYEN_TOOLS }}; do
109106
if [ ! -f "./bin/$tool.js" ]; then
110107
echo "Missing tool: $tool"
111108
exit 1
112109
fi
113110
echo '#!/usr/bin/env node' > "../../bin/$tool"
114111
cat "./bin/$tool.js" >> "../../bin/$tool"
112+
chmod +x "../../bin/$tool"
115113
done
116114
cd ../..
117-
chmod +x ./bin/*
118115
- name: "Test tools"
119116
run: |
120117
for tool in ${{ env.BINARYEN_TOOLS }}; do

0 commit comments

Comments
 (0)