Skip to content

Commit

Permalink
ci: checkout requested ref for release script
Browse files Browse the repository at this point in the history
  • Loading branch information
roccodev committed Feb 19, 2024
1 parent 721d336 commit c71bd5d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
ref: ${{ inputs.tag || '' }}

- name: Install rust
uses: actions-rs/toolchain@v1
Expand All @@ -37,7 +39,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
ref: ${{ inputs.tag || '' }}

- name: Install rust
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -77,6 +81,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ inputs.tag || '' }}
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit c71bd5d

Please sign in to comment.