Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 643 Bytes

File metadata and controls

30 lines (25 loc) · 643 Bytes

Create missing release

Create a GitHub release for a given tag if the release does not already exist.

Example Usage

  create-release:
    runs-on: ubuntu-latest
    steps:
      - uses: infrabits/ci-create-missing-release@main
        with:
          tag: example
          github-token: ${{ secrets.GITHUB_TOKEN }}

With artifacts

  create-release:
    runs-on: ubuntu-latest
    steps:
      - uses: infrabits/ci-create-missing-release@main
        with:
          tag: example
          github-token: ${{ secrets.GITHUB_TOKEN }}
          artifacts: |
            dist/*.tar.gz
            dist/*.zip