Skip to content

Latest commit

 

History

History
45 lines (36 loc) · 1.13 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.13 KB

action-releasr-go

portfolio_view

Github 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
    container: ghcr.io/packagrio/packagr-dev:master
    env:
      PROJECT_PATH: /go/src/github.com/packagrio/publishr
    steps:
      # Fetch depth 0 is required for committing changes
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      # ... do your compile, testing, bumpr, etc steps here.
      - name: Commit Changes
        id: commit
        uses: packagrio/action-releasr-go@master
        env:
          # This is necessary in order to push a commit to the repo
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this line unchanged

      # ... do your publishr steps here.

Inputs

Outputs