Compare commits

...

2 Commits

Author SHA1 Message Date
cornholio 528da2d9c9 ah yes emscripten 2025-02-26 11:55:51 +01:00
cornholio a25937ae79 Fixing revive release artifacts
* Stripping "./resolc-out" from linux artifact is weirdly
`--strip-components 2`, not `1`
* Adding execution bit for macos binary
2025-02-26 11:45:41 +01:00
+3 -2
View File
@@ -143,6 +143,7 @@ jobs:
- name: compress macos artifact - name: compress macos artifact
run: | run: |
chmod +x resolc-macos
tar -czf resolc-macos.tar.gz ./resolc-macos tar -czf resolc-macos.tar.gz ./resolc-macos
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
@@ -212,7 +213,7 @@ jobs:
- name: compress musl artifact - name: compress musl artifact
run: | run: |
tar --strip-components 1 -czf resolc-static-linux.tar.gz ./resolc-out/resolc-static-linux tar --strip-components 2 -czf resolc-static-linux.tar.gz ./resolc-out/resolc-static-linux
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
@@ -281,7 +282,7 @@ jobs:
- name: compress wasm artifact - name: compress wasm artifact
run: | run: |
tar --strip-components 3 -czf resolc-wasm.tar.gz \ tar --strip-components 4 -czf resolc-wasm.tar.gz \
./target/wasm32-unknown-emscripten/release/resolc.js \ ./target/wasm32-unknown-emscripten/release/resolc.js \
./target/wasm32-unknown-emscripten/release/resolc.wasm \ ./target/wasm32-unknown-emscripten/release/resolc.wasm \
./target/wasm32-unknown-emscripten/release/resolc_web.js ./target/wasm32-unknown-emscripten/release/resolc_web.js