-
Notifications
You must be signed in to change notification settings - Fork 738
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflow to delete a staged release
- Loading branch information
1 parent
0304369
commit c61516d
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
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 | ||
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 }} |