mirror of
https://github.com/Z3Prover/z3
synced 2026-07-22 15:05:51 +00:00
Revert "Allow OTP input for WebAssembly npm publish workflow" (#10157)
Reverts Z3Prover/z3#10156
This commit is contained in:
parent
5a03a73685
commit
225cf6dd9b
1 changed files with 0 additions and 10 deletions
10
.github/workflows/wasm-release.yml
vendored
10
.github/workflows/wasm-release.yml
vendored
|
|
@ -2,11 +2,6 @@ name: WebAssembly Publish
|
|||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
npm_otp:
|
||||
description: "One-time password for npm publish (optional)"
|
||||
required: false
|
||||
type: string
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
|
|
@ -66,12 +61,7 @@ jobs:
|
|||
- name: Test
|
||||
run: npm test
|
||||
|
||||
- name: Mask npm OTP
|
||||
if: ${{ github.event.inputs.npm_otp != '' }}
|
||||
run: echo "::add-mask::${{ github.event.inputs.npm_otp }}"
|
||||
|
||||
- name: Publish
|
||||
run: npm publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
NPM_CONFIG_OTP: ${{ github.event.inputs.npm_otp }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue