We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1fe003 commit af4b509Copy full SHA for af4b509
2 files changed
README.md
@@ -2,7 +2,7 @@
2
3
## Example
4
```yaml
5
-- uses: BlackAsLight/setup-binaryen@v1.1.0
+- uses: BlackAsLight/setup-binaryen@v1.1.1
6
env:
7
GH_TOKEN: ${{ github.token }}
8
with:
action.yml
@@ -54,11 +54,11 @@ runs:
54
--json assets -q ".assets[].name | select(test(\"$ASSET\"))")
55
echo "Asset: $ASSET"
56
57
- mkdir binaryen
+ TEMP=$(mktemp -d)
58
gh release download $VERSION \
59
--repo WebAssembly/binaryen \
60
--pattern $ASSET \
61
-O - \
62
- | tar -xzC binaryen --strip-components=1
63
- ls binaryen/bin
64
- echo "$(pwd -W 2>/dev/null || pwd)/binaryen/bin" >> $GITHUB_PATH
+ | tar -xzC $TEMP --strip-components=1
+ ls $TEMP/bin
+ echo "$(cd "$TEMP/bin" && pwd -W 2>/dev/null || pwd)" >> $GITHUB_PATH
0 commit comments