File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 99 workflow_dispatch :
1010
1111env :
12+ BUILD_PROFILE : release
1213 CARGO_TARGET_DIR : target
1314 CARGO_INCREMENTAL : 0
1415
4950 build :
5051 name : Build OK Bot
5152 env :
52- CARGO_BIN_NAME : ok_bot
53+ CARGO_BIN_NAME : OK
5354 strategy :
5455 matrix :
5556 include :
@@ -112,15 +113,15 @@ jobs:
112113 key : ${{ matrix.target }}
113114 - name : Cargo build
114115 run : >
115- cargo ${{ matrix.build }} --target ${{ matrix.target }}
116+ cargo ${{ matrix.build }} --profile ${{ env.BUILD_PROFILE }} -- target ${{ matrix.target }}
116117 --bin ${{ env.CARGO_BIN_NAME }}
117118 - name : Upload artifacts
118119 uses : actions/upload-artifact@v4
119120 with :
120121 name : ${{ env.CARGO_BIN_NAME }}-${{ matrix.name }}
121122 path : |
122- ${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.CARGO_BIN_NAME }}
123- ${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.CARGO_BIN_NAME }}.exe
123+ ${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.BUILD_PROFILE }}/${{ env. CARGO_BIN_NAME }}
124+ ${{ env.CARGO_TARGET_DIR }}/${{ matrix.target }}/${{ env.BUILD_PROFILE }}/${{ env. CARGO_BIN_NAME }}.exe
124125 if-no-files-found : error
125126
126127 release :
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ pub struct DiffSummary {
88 pub size_difference : u64 ,
99}
1010
11+ // test
1112impl DiffSummary {
1213 pub fn new ( diff : & ReportItemDifference ) -> Self {
1314 let percent_diff = diff. new_fuzzy_match_percent - diff. old_fuzzy_match_percent ;
You can’t perform that action at this time.
0 commit comments