Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit e13d454

Browse files
committed
merge cli and ci workflows
1 parent 197bb95 commit e13d454

File tree

2 files changed

+10
-48
lines changed

2 files changed

+10
-48
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,24 @@ jobs:
4444
uses: actions/checkout@v4
4545
with:
4646
ref: ${{ github.event.inputs.tag || github.ref }}
47+
- name: Set up Go
48+
uses: actions/setup-go@v5
4749
- uses: actions/setup-node@v4
4850
with:
4951
node-version: '20.x'
5052
registry-url: 'https://registry.npmjs.org'
5153
- uses: denoland/setup-deno@v2
5254
with:
5355
deno-version: v2.x
54-
- name: Set version env
55-
run: echo "RELEASE_VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV
56-
- uses: release-drafter/release-drafter@v5
56+
-
57+
name: Run GoReleaser
58+
uses: goreleaser/goreleaser-action@v6
5759
with:
58-
name: ${{ env.RELEASE_VERSION }}
59-
tag: ${{ env.RELEASE_VERSION }}
60-
version: ${{ env.RELEASE_VERSION }}
61-
publish: true
60+
# either 'goreleaser' (default) or 'goreleaser-pro'
61+
distribution: goreleaser
62+
# 'latest', 'nightly', or a semver
63+
version: '~> v2'
64+
args: release --clean
6265
env:
6366
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6467
- run: make install

.github/workflows/cli.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)