Skip to content

Commit

Permalink
Add a build release task
Browse files Browse the repository at this point in the history
  • Loading branch information
hrs committed May 23, 2023
1 parent 97208f8 commit 474d74c
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release Docsim

on:
workflow_dispatch:
push:
tags:
- "*"

jobs:
build:
name: GoReleaser build
runs-on: ubuntu-latest

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
id: go

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
workdir: lib
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.RELEASER_GITHUB_TOKEN }}

0 comments on commit 474d74c

Please sign in to comment.