Skip to content

Commit

Permalink
Add workflow for deleting a staged release on Artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
bclozel committed Oct 22, 2024
1 parent fa2780f commit 8423c15
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/delete-staged-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Delete Staged Release
on:
workflow_dispatch:
inputs:
build-version:
description: 'Version of the build to delete'
required: true
jobs:
delete-staged-release:
name: Delete Staged Release
runs-on: ubuntu-latest
steps:
- name: Set up JFrog CLI
uses: jfrog/setup-jfrog-cli@9fe0f98bd45b19e6e931d457f4e98f8f84461fb5 # v4.4.1
env:
JF_ENV_SPRING: ${{ secrets.JF_ARTIFACTORY_SPRING }}
- name: Delete Build
run: jfrog rt delete --build spring-restdocs-${{ github.event.inputs.build-version }}

0 comments on commit 8423c15

Please sign in to comment.