Update main.yml

Fixes according to the actual syntax
Merge pull request #50 from rgarrigue/patch-1

Update main.yml