Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.2 KB

README.md

File metadata and controls

45 lines (35 loc) · 1.2 KB

action-publishr-go

portfolio_view

Github Action that allows you to push commits, publish artifacts, generate a changelog & create a releaseGithub Action that allows you to commit local changes & tag Go repositories

Documentation

Full documentation is available at PackagrIO/docs

Usage

name: Release
jobs:
  build:
    name: Build
    runs-on: ubuntu-latest
    steps:
      # Fetch depth 0 is required for Changelog generation
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0


      # ... do your compile, testing, bumpr, releasr steps here.

      - name: Publish Release
        id: publish
        uses: packagrio/action-publishr-go@master
        env:
          # This is necessary in order to push a commit to the repo
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged
        with:
          # upload any assets to your github release
          upload_assets: 'packagr-bumpr-linux-amd64'

Inputs

Outputs