Skip to content

Commit

Permalink
Merge pull request #86 from Azure/feature/AddUnpublishWorkflow
Browse files Browse the repository at this point in the history
*Add workflow to remove version
  • Loading branch information
asaharn authored Dec 10, 2024
2 parents 33cab44 + 203c731 commit d0b9654
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rm-version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and deploy on prod
on:
workflow_dispatch:
inputs:
version:
description: 'Version to remove'
required: true
default: '0.0.0'
jobs:
build:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
actions: write
contents: write
deployments: write
security-events: write
packages: write
strategy:
matrix:
node-version: [18.x]
steps:
- run: npm set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }}
- run: npm unpublish azure-kusto-trender@$version

0 comments on commit d0b9654

Please sign in to comment.