Trying to add a go-releaser whatever that is #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.23' | |
- 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 {} \; |