Skip to content

Commit f07c29c

Browse files
authored
Build binaries (#82)
* Build binaries * Update README
1 parent b4ec89b commit f07c29c

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: GoReleaser
2+
on:
3+
release:
4+
types: [ published ]
5+
workflow_dispatch:
6+
workflow_run:
7+
workflows: [Releaser]
8+
types: [completed]
9+
jobs:
10+
bin-releaser:
11+
name: Release Binaries
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
- name: Set up Go
19+
uses: actions/setup-go@v4
20+
with:
21+
go-version: "1.21.x"
22+
- name: Release Binaries
23+
uses: goreleaser/goreleaser-action@v5
24+
with:
25+
distribution: goreleaser
26+
version: latest
27+
args: release --clean
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ This project provides a command line utility to access IPNI indexers and index-p
88

99
## Install
1010

11+
### Install binary
12+
13+
Get to the [latest ipni-cli release](https://github.com/ipni/ipni-cli/releases/latest) and get the binary appropriate for your system.
14+
15+
### Build with Golang
16+
1117
```sh
1218
git clone https://github.com/ipni/ipni-cli.git
1319
cd ipni-cli

0 commit comments

Comments
 (0)