We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f38af94 commit 56b17aaCopy full SHA for 56b17aa
1 file changed
.github/workflows/release.yml
@@ -154,7 +154,11 @@ jobs:
154
fi
155
156
# Generate SHA256 checksum
157
- ASSET=$(ls "${PKG}.tar.gz" "${PKG}.zip" 2>/dev/null | head -1)
+ if [ "${{ runner.os }}" = "Windows" ]; then
158
+ ASSET="${PKG}.zip"
159
+ else
160
+ ASSET="${PKG}.tar.gz"
161
+ fi
162
if command -v sha256sum >/dev/null 2>&1; then
163
sha256sum "$ASSET" > "${ASSET}.sha256"
164
else
0 commit comments