🚀 A project starter for module publisher
Find a file
2022-10-21 19:34:09 +02:00
dist Add remove_dark_mode_specific_images_from_readme 2022-10-21 19:34:09 +02:00
res Follow up from https://github.com/garronej/github_actions_toolkit 2021-12-01 13:39:57 +01:00
src Add remove_dark_mode_specific_images_from_readme 2022-10-21 19:34:09 +02:00
.gitignore Follow up from https://github.com/garronej/github_actions_toolkit 2021-12-01 13:39:57 +01:00
action.yml Add remove_dark_mode_specific_images_from_readme 2022-10-21 19:34:09 +02:00
package-lock.json Update @actions/core to stop using set-output 2022-10-12 17:48:05 +02:00
package.json Update @actions/core to stop using set-output 2022-10-12 17:48:05 +02:00
README.md Follow up from https://github.com/garronej/github_actions_toolkit 2021-12-01 13:39:57 +01:00
tsconfig.json Follow up from https://github.com/garronej/github_actions_toolkit 2021-12-01 13:39:57 +01:00

github_actions_toolkit

npm install
npm run build

Example use:

  trigger-deploy:
    runs-on: ubuntu-latest
    if: steps.id1.outputs.is_version_changed && github.event_name == 'push'
    needs:
      - test-node
      - test-deno
    steps:
      - name: Check if package.json version have changed
        id: id1
        uses: garronej/github_actions_toolkit@master
        with: 
          action_name: is_version_changed
          owner: ${{github.repository_owner}}
          repo: ${{github.repository.name}}
          branch_current: ${{master}}
          branch_new: ${{dev}}
      - name: Trigger publish if version changed
        uses: garronej/github_actions_toolkit@master
        with:
          action_name: dispatch_event
          owner: ${{github.repository_owner}}
          repo: ${{github.repository.name}}
          event_type: publish