Skip to content

ci: run sdk lint+test using dev cli+engine (#7628) #13

ci: run sdk lint+test using dev cli+engine (#7628)

ci: run sdk lint+test using dev cli+engine (#7628) #13

name: "Publish Go SDK"
on:
push:
branches: ["main"]
tags: ["sdk/go/v**"]
jobs:
publish:
if: github.repository == 'dagger/dagger'
uses: ./.github/workflows/_dagger_call.yml
secrets: inherit
with:
function: sdk go publish --tag="${{ github.ref_name }}" --github-token=env:RELEASE_DAGGER_CI_TOKEN
notify:
if: github.ref_type == 'tag'
needs: publish
uses: ./.github/workflows/_new_release_notification.yml
secrets: inherit
with:
message: "🐹 Go SDK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }}"