Skip to content

refactor: Separate links from messages with newline rather than space #66

refactor: Separate links from messages with newline rather than space

refactor: Separate links from messages with newline rather than space #66

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
type=sha
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Login to GHCR
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Build and Publish with GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload assets
uses: actions/upload-artifact@v2
with:
name: sanderson-notifications
path: dist/*