Skip to content

Commit

Permalink
Add workflow to yank crates (eclipse-zenoh#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara authored Jul 11, 2024
1 parent 0d6c6aa commit e6b29fb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/yank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Yank crates

on:
workflow_dispatch:
inputs:
crates:
type: string
description: Space separated list of crates to yank
required: true
version:
type: string
description: The version to yank
required: true

defaults:
run:
shell: bash

jobs:
yank-crates:
runs-on: ubuntu-latest
steps:
- name: Yank crates
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
run: |
for crate in ${{ inputs.crates }};
do cargo yank $crate --version ${{ inputs.version }};
done;

0 comments on commit e6b29fb

Please sign in to comment.