JasonEtco / build-and-tag-action

📦🔖 A GitHub Action for publishing JavaScript Actions
MIT License
92 stars 38 forks source link

Add support for action.pre, action.post instead of action.main only #47

Open saniales opened 6 months ago

saniales commented 6 months ago

I have an action.yml that looks like this

# ...
runs:
  using: 'node20'
  main: 'dist/restore/index.js'
  post: 'dist/save/index.js'
  post-if: 'success()'

As you can see I need both post and main js files to be included in the action for it to work. However with this I am only limited to main,

How can it be fixed?