Skip to content

Commit

Permalink
Merge pull request #111 from hallyn/publish-crate
Browse files Browse the repository at this point in the history
publish crate when pushing a tag
  • Loading branch information
hallyn authored Sep 14, 2023
2 parents f30f912 + 7ec438d commit c2a8c76
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ jobs:
run: |
sudo apt-get install skopeo umoci capnproto
- run: make lint check
- name: publish
if: startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
run: cargo publish --token ${CRATES_TOKEN}
env:
CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 comments on commit c2a8c76

Please sign in to comment.