Skip to content

Commit

Permalink
add yank flow (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiemontese authored Mar 5, 2024
1 parent e64743b commit 5b0b6a2
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/yank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Yank

on:
workflow_dispatch:
inputs:
version:
description: Version to yank
required: true
default: x.y.z
type: string

jobs:
retire:
runs-on: ubuntu-latest
env:
VERSION: ${{ inputs.version }}
steps:
- uses: actions/checkout@v4
- run: echo "Attempting to yank version $VERSION"
- name: Login
run: cargo login "$CARGO_AUTH_KEY"
env:
CARGO_AUTH_KEY: ${{ secrets.CARGO_AUTH_KEY }}
- name: Yank
run: cargo yank --version "$VERSION"

0 comments on commit 5b0b6a2

Please sign in to comment.