Running Release for DynamoDB UTILS #211
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release DynamoDB UTILS CI-CD | |
run-name: Running Release for DynamoDB UTILS | |
on: | |
create: | |
tags: | |
- v* | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Get tag | |
id: tag | |
uses: dawidd6/action-get-tag@v1 | |
- name: Current tag | |
run: echo "Current tag ${{steps.tag.outputs.tag}}" | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21 | |
cache: true | |
cache-dependency-path: go.sum | |
- name: Mod Tidy | |
run: go mod tidy | |
- name: Test | |
run: make test | |
- name: Publish package | |
run: GOPROXY=proxy.golang.org go list -m github.com/raito-io/go-dynamo-utils@${{steps.tag.outputs.tag}} |