Skip to content

Bump actions/upload-artifact from 4.4.3 to 4.6.0 (#13) #5

Bump actions/upload-artifact from 4.4.3 to 4.6.0 (#13)

Bump actions/upload-artifact from 4.4.3 to 4.6.0 (#13) #5

Workflow file for this run

name: Release Go project
on:
push:
tags:
- "v*" # triggers only if a new version tag (e.g., v0.8.4) is pushed
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Docker Login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v2.4.1 # Pin to a specific stable version
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}