chore: add publish workflow (2)

We need to exclude the 'main' branch (it's an OR operator).

Reference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
This commit is contained in:
Damien Arrachequesne
2024-07-11 12:38:20 +02:00
parent fbc0313a10
commit 04033b241b

View File

@@ -4,8 +4,6 @@ name: Publish
on:
push:
branches:
- main
tags:
# expected format: <package>@<version> (example: socket.io@1.2.3)
- '*@*'