@@ -841,12 +841,6 @@ jobs:
841841 echo "## dependency list"
842842 cargo fetch --locked --quiet --target $(rustc --print host-tuple)
843843 cargo tree --locked --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} ${{ steps.vars.outputs.CARGO_DEFAULT_FEATURES_OPTION }} --no-dedupe -e=no-dev --prefix=none | grep -vE "$PWD" | sort --unique
844- - name : Build
845- shell : bash
846- run : |
847- ## Build
848- ${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} build --release --config=profile.release.strip=true \
849- --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} ${{ steps.vars.outputs.CARGO_DEFAULT_FEATURES_OPTION }}
850844 - name : Test
851845 if : matrix.job.skip-tests != true
852846 shell : bash
@@ -857,11 +851,13 @@ jobs:
857851 ${{ steps.dep_vars.outputs.CARGO_UTILITY_LIST_OPTIONS }} -p coreutils
858852 env :
859853 RUST_BACKTRACE : " 1"
860- - name : Archive executable artifacts
861- uses : actions/upload-artifact@v6
862- with :
863- name : ${{ env.PROJECT_NAME }}-${{ matrix.job.target }}${{ steps.vars.outputs.ARTIFACTS_SUFFIX }}
864- path : target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
854+ - name : Build
855+ shell : bash
856+ if : matrix.job.skip-publish != true
857+ run : |
858+ ## Build
859+ ${{ steps.vars.outputs.CARGO_CMD }} ${{ steps.vars.outputs.CARGO_CMD_OPTIONS }} build --release --config=profile.release.strip=true \
860+ --target=${{ matrix.job.target }} ${{ matrix.job.cargo-options }} ${{ steps.vars.outputs.CARGO_FEATURES_OPTION }} ${{ steps.vars.outputs.CARGO_DEFAULT_FEATURES_OPTION }}
865861 - name : Package
866862 if : matrix.job.skip-package != true
867863 shell : bash
@@ -1225,7 +1221,8 @@ jobs:
12251221 fail_ci_if_error : false
12261222
12271223 test_separately :
1228- name : Separate Builds (individual and coreutils)# duplicated with other CI, but has better appearance
1224+ # duplicated with other CI, but has better appearance
1225+ name : Separate Builds (individual and coreutils)
12291226 runs-on : ${{ matrix.job.os }}
12301227 strategy :
12311228 fail-fast : false
0 commit comments