I am trying to write a GitHub action that should trigger when provided paths are updated AND a tag is pushed.
The Github docs suggests, if tags
, and paths
are provided, tags takes precidence.
I am trying to make this work with a logical AND like this:
name: ci
on:
push:
paths:
- 'dir1'
tags:
- 'v*'
...
```
Can someone please help me achieve this?