Skip to content

fix branch name

fix branch name #23

Workflow file for this run

name: Release mcp-k8s to npm
on:
workflow_dispatch:
push:
branches:
- test-pipeline
tags:
- '*'
jobs:
call-run-tests:
uses: strowk/mcp-k8s-go/.github/workflows/test.yaml@main

Check failure on line 13 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

error parsing called workflow ".github/workflows/release.yaml" -> "strowk/mcp-k8s-go/.github/workflows/test.yaml@main" (source branch with sha:ef8507c9e259a0a890ea199175ebf12360457ba8) : workflow is not reusable as it is missing a `on.workflow_call` trigger
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# - name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: '1.23.3'
# - name: Install goreleaser
# run: |
# go install github.com/goreleaser/goreleaser/v2@latest
# which goreleaser
# - name: Run goreleaser build
# run: |
# goreleaser build --clean
# - name: Publish to npm
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# run: |
# chmod +x ./packages/publish_npm.sh
# ./packages/publish_npm.sh
# install:
# strategy:
# matrix:
# os:
# - windows-latest
# - ubuntu-latest
# - macos-latest
# arch:
# - x64
# - arm64
# runs-on: ${{ matrix.os }}
# needs: release
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Install mcp-k8s
# run: |
# npm install -g @strowk/mcp-k8s
# - name: Test mcp-k8s
# run: |
# mcp-k8s version