Skip to content

Commit ed28fd9

Browse files
committed
skip package and publish for wasm build
1 parent 463d16d commit ed28fd9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/CICD.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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 }
@@ -788,6 +788,7 @@ jobs:
788788
name: ${{ env.PROJECT_NAME }}-${{ matrix.job.target }}${{ steps.vars.outputs.ARTIFACTS_SUFFIX }}
789789
path: target/${{ matrix.job.target }}/release/${{ env.PROJECT_NAME }}${{ steps.vars.outputs.EXE_suffix }}
790790
- name: Package
791+
if: matrix.job.skip-package != true
791792
shell: bash
792793
run: |
793794
## Package artifact(s)
@@ -823,7 +824,7 @@ jobs:
823824
fi
824825
- name: Publish
825826
uses: softprops/action-gh-release@v2
826-
if: steps.vars.outputs.DEPLOY
827+
if: steps.vars.outputs.DEPLOY && matrix.job.skip-publish != true
827828
with:
828829
draft: true
829830
files: |

0 commit comments

Comments
 (0)