Skip to content

Adds GitHub Workflows #1

Adds GitHub Workflows

Adds GitHub Workflows #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Publish
run: go list -m github.com/${{ github.repository }}/@${{ github.ref_name }}
download:
runs-on: ubuntu-latest
needs:
- publish
steps:
- name: Go Mod Init
run: go mod init github.com/wernerstrydom/conversion-example
- name: Go Get
run: GOPROXY=https://proxy.golang.org GO111MODULE=on go get github.com/${{ github.repository }}/@${{ github.ref_name }}