Skip to content

Release

Release #45

Workflow file for this run

name: Release
on:
push:
tags:
- v*.*.*
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Fetch all tags
run: git fetch --force --tags
-
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
-
name: Install build dependencies
run: |
go install github.com/GeertJohan/go.rice/rice@v1.0.2
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: 1.11.2
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
-
name: Upload assets
uses: actions/upload-artifact@v3
with:
name: disass_linux
path: dist/*