Skip to content

Monodeploy A monodeploy plugin to report release outcome to GitHub Actions

Notifications You must be signed in to change notification settings

myparcelnl/monodeploy-plugin-github-actions

 
 

Repository files navigation

Monodeploy GitHub Actions plugin

This is a small plugin for Monodeploy that adds information about whether a release happened to $GITHUB_OUTPUT, for use with GitHub actions. This is useful for letting other actions/workflows depend on the result of a monodeploy run. For example, to only execute something if a release was done.

Usage

Monodeploy config

// monodeploy.config.cjs

module.exports = {
  // your config
  plugins: ["@myparcel/monodeploy-plugin-github-actions"],
};

GitHub Actions workflow

# .github/workflows/some-workflow.yml

- name: "Release"
  id: release
  run: |
    yarn monodeploy

- name: "Do something with output"
  if: steps.release.outputs.released == 'true'
  run: |
    echo 'do something'

About

Monodeploy A monodeploy plugin to report release outcome to GitHub Actions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%