Only run on tag creation

This commit is contained in:
Joel Wachsler 2022-07-10 18:19:29 +00:00
parent 155bd3db9a
commit 68a0c756ae

View File

@ -2,6 +2,8 @@ on:
push: push:
branches: branches:
- main - main
tags:
- '**'
jobs: jobs:
publish: publish:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
@ -32,5 +34,3 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: publish command: publish