Skip to content

Commit

Permalink
fix: action plugin workflow (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdh committed Sep 11, 2023
1 parent 966521c commit d8b9fda
Showing 1 changed file with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release Provider Plugin(s)
name: Release Cortex plugin

on:
workflow_dispatch:
Expand All @@ -11,8 +11,6 @@ on:
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix: { plugin_name: ["cortex"] }
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
Expand All @@ -23,18 +21,15 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get release tag
id: get_version
uses: battila7/get-version-action@v2
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --clean
workdir: plugins/providers/${{ matrix.plugin_name }}
workdir: plugins/providers/cortex
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_TOKEN }}
PLUGIN_DIR_NAME: ${{ matrix.plugin_name }}
PLUGIN_NAME: siren-${{ matrix.plugin_name }}
PLUGIN_DIR_NAME: cortex
PLUGIN_NAME: siren-cortex
PLUGIN_VERSION: ${{ inputs.version }}

0 comments on commit d8b9fda

Please sign in to comment.