name: Publish on: workflow_call: inputs: version: description: "The version tag to publish (e.g., v1.0.0)" required: true type: string jobs: publish: name: Publish to Go Module Proxy runs-on: ubuntu-latest steps: - name: Set up Go uses: actions/setup-go@v6 with: go-version: "1.25" cache: false - name: Publish module to proxy env: GOPROXY: proxy.golang.org run: go list -m github.com/StevanFreeborn/onspring-api-sdk-go@${{ inputs.version }}