I think it does make more sense to run the ship workflow only after a release has been created, so I modified mine to the below. Maybe this should be added here to for some folks that wants the same instead of ship on every tag creation.
on:
release:
types:
- published
A release workflow will previously run deno lint, deno test and then release a new version based on a tag that has been created.
https://github.com/m8finder/webssl/tree/main/.github/workflows
NOTE: using the default repository GITHUB_TOKEN for a release will not trigger any on.release.types.* during a CI workflow run. For this it is needed to use a personal access token. Read: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
I think it does make more sense to run the ship workflow only after a release has been created, so I modified mine to the below. Maybe this should be added here to for some folks that wants the same instead of ship on every tag creation.
A release workflow will previously run
deno lint,deno testand then release a new version based on a tag that has been created.https://github.com/m8finder/webssl/tree/main/.github/workflows