3
0
Fork 0
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:
Nikolaj Bjorner 2026-07-17 12:36:51 -07:00 committed by GitHub
parent 5a03a73685
commit 225cf6dd9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}