Skip to content

Commit b297992

Browse files
committed
[Actions] Updated .github/actions/npm/action.yml
1 parent 97023d6 commit b297992

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/actions/npm/action.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,10 @@ runs:
178178
inputs.NPM_SIGNING == 'true' &&
179179
inputs.PROJECT_TO_PUBLISH != ''
180180
name: "NPM: Create Store Signing Wallet"
181-
#uses: ttd2089/secret-file-action@1.0.0
182-
uses: credfeto/secret-file-action@feat/fix-github-deprecations
183-
id: store-siging-wallet
181+
uses: ./.github/actions/save-secret-as-file
182+
id: store-signing-wallet
184183
with:
185184
secret: ${{inputs.NPM_PACKAGE_STORE_SIGNING_WALLET}}
186-
b64-decode: false
187185
188186
- if: |
189187
inputs.NPM_SIGNING == 'true' &&
@@ -196,7 +194,7 @@ runs:
196194
-Package "${{github.workspace}}/dist/${{inputs.PROJECT_TO_PUBLISH}}-${{inputs.BUILD_VERSION}}.nupkg" \
197195
-WarningAsErrors true \
198196
-Wallet false \
199-
-Wallet "${{steps.store-siging-wallet.outputs.file}}" \
197+
-Wallet "${{steps.store-signing-wallet.outputs.file}}" \
200198
-WalletPassword "${{inputs.NPM_PACKAGE_STORE_SIGNING_WALLET_PASSWORD}}"
201199
env:
202200
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"

0 commit comments

Comments
 (0)