Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit 75604ef

Browse files
committed
docs: enhance installation instructions in README.md
1 parent 23d28c5 commit 75604ef

1 file changed

Lines changed: 27 additions & 2 deletions

File tree

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,34 @@ reliability.
1010

1111
## Installation
1212

13-
**Recommended:** Just download the binary from the [releases page](https://github.com/zisuu/github-actions-digest-pinner/releases)
13+
**Recommended:** Just download the binary from the [releases page](https://github.com/zisuu/github-actions-digest-pinner/releases).
1414

15-
If you want you can also install it using `go`, but be aware the the `version` command will not work because the ldflags are not set during the `go install` process.
15+
### Steps to Manually Download and Install the Binary
16+
17+
1. Visit the [releases page](https://github.com/zisuu/github-actions-digest-pinner/releases).
18+
2. Download the appropriate binary for your operating system and architecture (e.g., `github-actions-digest-pinner_linux_amd64.tar.gz` for Linux 64-bit).
19+
20+
3. Extract the downloaded `.tar.gz` file:
21+
22+
```bash
23+
tar -xvzf github-actions-digest-pinner_<os>_<arch>.tar.gz
24+
```
25+
26+
Replace `<os>` and `<arch>` with your operating system and architecture.
27+
28+
4. Move the extracted binary to a directory in your `PATH` (e.g., `/usr/local/bin`):
29+
30+
```bash
31+
sudo mv github-actions-digest-pinner /usr/local/bin/
32+
```
33+
34+
5. Verify the installation:
35+
36+
```bash
37+
github-actions-digest-pinner --version
38+
```
39+
40+
If you want, you can also install it using `go`, but be aware that the `version` command will not work because the ldflags are not set during the `go install` process.
1641

1742
```bash
1843
go install github.com/zisuu/github-actions-digest-pinner/cmd/github-actions-digest-pinner@latest

0 commit comments

Comments
 (0)