Skip to content

Trying to add a go-releaser whatever that is #9

Trying to add a go-releaser whatever that is

Trying to add a go-releaser whatever that is #9

Workflow file for this run

name: Test Release
on:
push:
tags:
- 'test-release*'
- 'v*.*.*-*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Fetch All Tags
run: git fetch --tags --force --prune
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: '1.18.1'
- name: Run GoReleaser (Snapshot Mode)
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: latest
args: release --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: List dist Folder Contents
run: |
echo "Listing dist/ folder contents:"
find dist -exec ls -l {} \;