Skip to content

v0.10.1

v0.10.1 #3

Workflow file for this run

name: CLI
on:
release:
types: [published]
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean --snapshot
workdir: ./backend
env:
GORELEASER_CURRENT_TAG: 'v0.0.0' # can be anything since we're using --snapshot
- run: |
mkdir -p dist/artifacts
cp dist/*.{tar.gz,zip} dist/artifacts
working-directory: ./backend
- name: Upload assets
uses: softprops/action-gh-release@v1
with:
files: ./backend/dist/artifacts/*
fail_on_unmatched_files: true