Skip to content

Commit

Permalink
Split jobs for github and crates.io (#11)
Browse files Browse the repository at this point in the history
Restore lost checkout
  • Loading branch information
sterliakov authored Dec 19, 2023
1 parent b62c17b commit 04176f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Publish crate to crates.io
run: |
name=$(cargo metadata -q --no-deps | jq -r '.packages[0].name')
Expand Down

0 comments on commit 04176f7

Please sign in to comment.