Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
skoky authored Nov 9, 2023
1 parent 3d253df commit 37e3e39
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Publish

on:
push:
tags:
- 'v*'

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Publish crate
run: cargo publish --token ${TOKEN}
env:
TOKEN: ${{ secrets.CRATES_IO_ERSPAN_RS_PUBLISH_UPDATE_TOKEN }}

0 comments on commit 37e3e39

Please sign in to comment.