File tree 5 files changed +16
-4
lines changed
5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,12 @@ jobs:
73
73
with :
74
74
command : ${{ matrix.command }}
75
75
args : ${{ matrix.args }}
76
+ - name : making bundle
77
+ if : ${{ matrix.command == 'build' }}
78
+ run : ./build-bundle.sh
76
79
- name : Publishing build artifacts
77
80
if : ${{ matrix.command == 'build' }}
78
81
uses : actions/upload-artifact@v2
79
82
with :
80
83
name : bundle
81
- path : |
82
- target/**/bundle.car
84
+ path : output/builtin-actors.car
Original file line number Diff line number Diff line change 2
2
* .wat
3
3
* .wasm
4
4
.idea /
5
- ** /.DS_Store
5
+ ** /.DS_Store
6
+ output /builtin-actors.car
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ publish:
50
50
echo " $( ORDERED_PACKAGES) " | xargs -n1 cargo publish -p " $$ pkg"
51
51
done
52
52
53
+ # Create a bundle in a deterministic location
54
+ bundle : deps-build
55
+ ./build-bundle.sh
53
56
54
57
# Check if the working tree is clean.
55
58
check-clean :
@@ -69,4 +72,4 @@ deps-release:
69
72
exit 1; \
70
73
}
71
74
72
- .PHONY : check check-clean deps deps-release deps-release test publish bump-version set-version
75
+ .PHONY : check check-clean deps deps-release deps-release test publish bump-version set-version bundle
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -e
4
+
5
+ bundle=$( cargo build 2>&1 | grep " warning: bundle=" | cut -d = -f 2)
6
+ cp -v $bundle output/builtin-actors.car
You can’t perform that action at this time.
0 commit comments