mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 01:23:31 +01:00
ci: Remove tags instead of only deprecating (#11263)
ci: deprecate -> remove Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
9
.github/workflows/deprecate-version.yml
vendored
9
.github/workflows/deprecate-version.yml
vendored
@@ -48,6 +48,9 @@ jobs:
|
||||
uses: ./packages/actions/src/pnpmCache
|
||||
|
||||
- name: Deprecate
|
||||
run: pnpm exec npm-deprecate --name "${{inputs.version}}" --message "${{inputs.message || 'This version is deprecated. Please use a newer version.'}}" --package ${{inputs.package}}
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
uses: ./packages/actions/src/deprecateVersion
|
||||
with:
|
||||
package: ${{ inputs.package }}
|
||||
version: ${{ inputs.version }}
|
||||
message: ${{ inputs.message }}
|
||||
node-auth-token: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user