Skip to content

v0.1.12

v0.1.12 #58

---
name: "tagged-release"
on:
push:
tags:
- "v*"
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Tagged release test scenario'
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: "Setup go environment"
uses: actions/setup-go@v2
with:
go-version: '^1.16.0'
- name: "Build the eos-exporter"
id: branch_name
run: |
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
make build
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: false
title: "${{ steps.branch_name.outputs.SOURCE_TAG }}"
files: |
eos_exporter