Skip to content

Merge branch 'main' of https://github.com/adobe/imscli #20

Merge branch 'main' of https://github.com/adobe/imscli

Merge branch 'main' of https://github.com/adobe/imscli #20

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Release with GoReleaser
# Controls when the action will run.
on:
# Triggers the release workflow only for new tags
push:
tags:
- '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
release:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
# Runs a single command using the runners shell
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
# Runs a set of commands using the runners shell
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}