k1LoW / tbls

tbls is a CI-Friendly tool for document a database, written in Go.
MIT License
3.4k stars 166 forks source link

Publish GitHub action to marketplace #405

Closed FelixZY closed 1 year ago

FelixZY commented 1 year ago

Have you considered releasing an official GitHub action to the actions marketplace? This would make tbls even easier to use in GitHub-based CI flows.

k1LoW commented 1 year ago

@FelixZY Thank you for your request.

I think it would be better to have tbls-action. However, there are many things to consider in providing it, so I have no immediate plans to create it.

FelixZY commented 1 year ago

I was mostly thinking an action to cover the install section of the readme. Currently, I do this:

        - name: Install [tbls](https://github.com/k1LoW/tbls)
        run: |
          curl -sL https://github.com/k1LoW/tbls/releases/download/v${TBLS_VERSION}/tbls_${TBLS_VERSION}-1_amd64.deb --output /tmp/tbls.deb
          sudo dpkg -i /tmp/tbls.deb

But I was thinking something like this would be nice:

      - uses: k1LoW/setup-tbls@v1
        with:
          version: ${{ env.TBLS_VERSION }}
k1LoW commented 1 year ago

@FelixZY

I have released https://github.com/k1LoW/setup-tbls !