Skip to content

Release Cortex plugin #30

Release Cortex plugin

Release Cortex plugin #30

name: Release Cortex plugin
on:
workflow_dispatch:
jobs:
release_plugin:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: 1.21
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
workdir: ${{ github.workspace }}/plugins/providers/cortex
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}