Skip to content

Publish

Publish #13

Workflow file for this run

on:
release:
types: [published]
name: Publish
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- run: |
echo "publishing version: ${{steps.tag.outputs.tag}}"
echo "MOD_NAME=$(go list -m)"
GOPROXY=proxy.golang.org go list -m $MOD_NAME@${{steps.tag.outputs.tag}}