chore: update workflows

This commit is contained in:
Stevan Freeborn
2026-03-26 17:39:39 -05:00
parent cdfc818429
commit 748db478e5
2 changed files with 30 additions and 17 deletions
+7 -4
View File
@@ -1,8 +1,11 @@
name: Publish
on:
push:
tags:
- "v*"
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
@@ -11,7 +14,7 @@ jobs:
- name: Request module from proxy
run: |
MODULE="github.com/StevanFreeborn/onspring-api-sdk-go"
VERSION="${GITHUB_REF_NAME}"
VERSION="${{ inputs.version }}"
PROXY_URL="https://proxy.golang.org/${MODULE}/@v/${VERSION}.info"
echo "Requesting: $PROXY_URL"