Skip to content

added support for scoped packages #9

added support for scoped packages

added support for scoped packages #9

Workflow file for this run

name: Release
on:
push:
branches:
- main
tags:
- 'v*' # Executed only, if a version tag starting 'v*' is set
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
goreleaser:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}