Skip to content

Commit

Permalink
Add GH action for tagged release
Browse files Browse the repository at this point in the history
  • Loading branch information
mougams committed Jan 22, 2025
1 parent 16333d1 commit 039d880
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "tagged-release"

on:
push:
tags:
- "*"

jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
defaults:
run:
working-directory: .

steps:
- name: Set up Go
uses: actions/setup-go@v2

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .

- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: consul-timeline

0 comments on commit 039d880

Please sign in to comment.