Skip to content

lucasmelin/molting-release-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

🐍🐍 molting Release Action

GitHub Action to automate releases using molting.

Examples

Trigger a new version on every push

name: molting release
on: [push]

jobs:
  molting_job:
    runs-on: ubuntu-latest
    name: Update the project version
    steps:
      - uses: actions/checkout@v2
      - uses: lucasmelin/molting-release-action@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Manually trigger a release

name: molting release
on:
  workflow_dispatch:
    inputs:
      version:
        type: choice
        description: Choose the type of release
        options:
          - patch
          - minor
          - major

jobs:
  molting_job:
    runs-on: ubuntu-latest
    name: Update the project version
    steps:
      - uses: actions/checkout@v2
      - uses: lucasmelin/molting-release-action@v1
        with:
          version: ${{ github.event.inputs.version }}
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}