Only try publishing when a version tag is pushed (#1876)

This commit is contained in:
Artúr Kovács 2021-03-10 23:10:35 +01:00 committed by GitHub
parent 889258f538
commit 599477d754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,8 @@ name: Publish
on: on:
push: push:
branches: [master] tags:
paths: "Cargo.toml" - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs: jobs:
Publish: Publish: