@@ -513,7 +513,7 @@ jobs:
513513 fail-fast : false
514514 matrix :
515515 job :
516- # - { os , target , cargo-options , default-features, features , use-cross , toolchain, skip-tests, workspace-tests }
516+ # - { os , target , cargo-options , default-features, features , use-cross , toolchain, skip-tests, workspace-tests, skip-package, skip-publish }
517517 - { os: ubuntu-latest , target: arm-unknown-linux-gnueabihf , features: feat_os_unix_gnueabihf , use-cross: use-cross , skip-tests: true }
518518 - { os: ubuntu-24.04-arm , target: aarch64-unknown-linux-gnu , features: feat_os_unix_gnueabihf }
519519 - { os: ubuntu-latest , target: aarch64-unknown-linux-musl , features: feat_os_unix , use-cross: use-cross , skip-tests: true }
@@ -524,7 +524,7 @@ jobs:
524524 - { os: ubuntu-latest , target: x86_64-unknown-linux-gnu , features: "feat_os_unix,uudoc" , use-cross: no, workspace-tests: true }
525525 - { os: ubuntu-latest , target: x86_64-unknown-linux-musl , features: feat_os_unix , use-cross: use-cross }
526526 - { os: ubuntu-latest , target: x86_64-unknown-redox , features: feat_os_unix_redox , use-cross: redoxer , skip-tests: true }
527- - { os: ubuntu-latest , target: wasm32-unknown-unknown , default-features: false, features: uucore/format, skip-tests: true }
527+ - { os: ubuntu-latest , target: wasm32-unknown-unknown , default-features: false, features: uucore/format, skip-tests: true, skip-package: true, skip-publish: true }
528528 - { os: macos-latest , target: aarch64-apple-darwin , features: feat_os_macos, workspace-tests: true } # M1 CPU
529529 - { os: macos-13 , target: x86_64-apple-darwin , features: feat_os_macos, workspace-tests: true }
530530 - { os: windows-latest , target: i686-pc-windows-msvc , features: feat_os_windows }
@@ -789,6 +789,7 @@ jobs:
789789 name : ${{ env.PROJECT_NAME }}-${{ matrix.job.target }}${{ steps.vars.outputs.ARTIFACTS_SUFFIX }}
790790 path : target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
791791 - name : Package
792+ if : matrix.job.skip-package != true
792793 shell : bash
793794 run : |
794795 ## Package artifact(s)
@@ -824,7 +825,7 @@ jobs:
824825 fi
825826 - name : Publish
826827 uses : softprops/action-gh-release@v2
827- if : steps.vars.outputs.DEPLOY
828+ if : steps.vars.outputs.DEPLOY && matrix.job.skip-publish != true
828829 with :
829830 draft : true
830831 files : |
0 commit comments