parameters: - name: NpmPublish displayName: 'NPM packages publish configuration' type: string values: - 'nightly (@dev)' - 'release candidate (@rc)' - 'production (@latest)' - 'custom' default: 'nightly (@dev)' resources: repositories: - repository: manylinux # The name used to reference this repository in the checkout step type: Github endpoint: Microsoft name: pypa/manylinux ref: aead4d751c2101e23336aa73f2380df83e7a13f3 variables: ${{ if eq(parameters.NpmPublish, 'nightly (@dev)') }}: NpmPackagingMode: 'dev' ${{ if eq(parameters.NpmPublish, 'release candidate (@rc)') }}: NpmPackagingMode: 'rc' ${{ if eq(parameters.NpmPublish, 'production (@latest)') }}: NpmPackagingMode: 'release' ${{ if eq(parameters.NpmPublish, 'custom') }}: NpmPackagingMode: '$(VersionSuffix)' stages: - template: templates/react-native-ci.yml parameters: NpmPackagingMode: ${{ variables.NpmPackagingMode }} BuildConfig: 'Release' PoolName: 'onnxruntime-Linux-CPU-2019'