File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727 - name : macos-x86_64
2828 target : x86_64-apple-darwin
29- os : macos-13
29+ os : macos-latest
3030 lib : rustyjavac_native.dylib
3131
3232 - name : macos-aarch64
4848 - name : Rename artifact
4949 shell : bash
5050 run : |
51- cp target/${{ matrix.target }}/release/${{ matrix.lib }} \
52- ${{ matrix.lib }}
51+ src=$(find target/${{ matrix.target }}/release -maxdepth 1 -name "*rustyjavac_native*" \( -name "*.so" -o -name "*.dylib" -o -name "*.dll" \) | head -1)
52+ if [ ! -f "$src" ]; then
53+ echo "ERROR: built library not found. Listing release dir:"
54+ ls -la target/${{ matrix.target }}/release/*.so target/${{ matrix.target }}/release/*.dylib target/${{ matrix.target }}/release/*.dll 2>/dev/null || true
55+ exit 1
56+ fi
57+ echo "Found: $src"
58+ cp "$src" ${{ matrix.lib }}
5359
5460 - name : Generate SHA-256
5561 shell : bash
You can’t perform that action at this time.
0 commit comments