Skip to content

fix: load kWh to kW (#3) #2

fix: load kWh to kW (#3)

fix: load kWh to kW (#3) #2

Workflow file for this run

on:
push:
tags:
- '*'
name: release
jobs:
release:
runs-on: ubuntu-latest
env:
GO_VERSION: "1.21"
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}