File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2929 # Install gcc-mingw-w64-x86-64 for Windows target cross-compilation
3030 sudo apt-get install -y build-essential gcc-mingw-w64-x86-64
3131
32+ - name : Cache cross binary
33+ uses : actions/cache@v4
34+ id : cache-cross
35+ with :
36+ path : ~/.cargo/bin/cross
37+ key : cross-git-latest
38+
3239 - name : Install cross
3340 shell : bash
41+ if : steps.cache-cross.outputs.cache-hit != 'true'
3442 run : cargo install cross --git https://github.com/cross-rs/cross --force
3543
3644 - name : Build CLI ${{ inputs.target }} target (Windows GNU native)
Original file line number Diff line number Diff line change @@ -191,15 +191,15 @@ jobs:
191191 if : ${{ !contains(matrix.platform.target, 'illumos') && !contains(matrix.platform.os-name, 'windows') }}
192192 run : |
193193 if [[ "${{steps.tests.outcome}}" == "failure" ]]; then
194- test-step-outcome =1
194+ $TEST_STEP_OUTCOME =1
195195 else
196- test-step-outcome =0
196+ $TEST_STEP_OUTCOME =0
197197 fi
198198 target/${{ matrix.platform.target }}/release/trunk-analytics-cli upload \
199199 --junit-paths ${{ github.workspace }}/target/**/*junit.xml \
200200 --org-url-slug trunk-staging-org \
201201 --token ${{ secrets.TRUNK_STAGING_ORG_API_TOKEN }} \
202- --test-process-exit-code $test-step-outcome
202+ --test-process-exit-code $TEST_STEP_OUTCOME
203203
204204 - name : Upload results to prod using built CLI
205205 shell : bash
You can’t perform that action at this time.
0 commit comments