Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

github actions for goreleaser

name: goreleaser

on:
  push:
    # run only against tags
    tags:
      - '*'

permissions:
  contents: write
  # packages: write
  # issues: write

jobs:
  goreleaser:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      -
        name: Fetch all tags
        run: git fetch --force --tags
      -
        name: Set up Go
        uses: actions/setup-go@v2
        with:
          go-version: 1.18
      -
        name: Run GoReleaser
        uses: goreleaser/goreleaser-action@v2
        with:
          # either 'goreleaser' (default) or 'goreleaser-pro'
          distribution: goreleaser
          version: latest
          args: release --rm-dist
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
          # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
Comment

PREVIOUS NEXT
Code Example
Shell :: Bulk user add with passwords bash script 
Shell :: delete directory linu x 
Shell :: Check servers availability using bash script 
Shell :: linux enable numlock on boot up 
Shell :: Installing Atom in Ubuntu OS 
Shell :: convert dos to unix vim 
Shell :: download ubuntu 20 from gdrive 
Shell :: how to find inode of a file in linux 
Shell :: docker Redirecting Both stdout and stderr file 
Shell :: guardar vi 
Shell :: Quick start: Use as a GitHub Pages remote theme 
Shell :: shopify buy sdk 
Shell :: yarn gem 
Shell :: linux split image into 4 parts 
Shell :: pi auto update and upgrade 
Shell :: how to install xampp in ubuntu 20.04 
Shell :: cargo new bin 
Shell :: scanning with dirb 
Shell :: screen shot linux 
Shell :: npm uppy 
Shell :: 7z linux terminal show files in archive 
Shell :: The last character of the "bash" prompt is usually 
Shell :: git2 
Shell :: how to convert powershell script to c# code 
Shell :: linux check speed of file growth 
Shell :: nuget password private source 
Shell :: cpickle 
Shell :: mdem ubuntu ssh key no password 
Shell :: install htttpd ubuntu 
Shell :: qemu convert qcow2 to vhd 
ADD CONTENT
Topic
Content
Source link
Name
2+7 =