Skip to content

Commit

Permalink
[release-crate-versions] Support arbitrary branches (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlf committed May 3, 2024
1 parent a546768 commit 91e0898
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-crate-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:
version:
description: 'Crate version'
required: true
default: "0.8.COOL"
branch:
description: 'Branch to update'
required: true
default: 'main'

permissions: read-all

Expand All @@ -17,7 +20,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
ref: main
ref: ${{ github.event.inputs.branch }}
persist-credentials: false
- name: Overwrite Cargo.toml files
run: |
Expand Down

0 comments on commit 91e0898

Please sign in to comment.