Skip to content

Commit

Permalink
Release with builds for different architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
terminationshock committed Apr 27, 2024
1 parent 29b99f9 commit 50ccc8b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,3 @@ jobs:

- name: Integration tests
run: make integration-tests

- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: lisst
path: lisst
14 changes: 13 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,21 @@ jobs:
- name: Integration tests
run: make integration-tests

- name: Build amd64
env:
GOOS: linux
GOARCH: amd64
run: make clean && make && tar -cvf lisst-amd64.tar lisst

- name: Build arm64
env:
GOOS: linux
GOARCH: arm64
run: make clean && make && tar -cvf lisst-arm64.tar lisst

- name: Publish release
uses: ncipollo/release-action@v1
with:
artifacts: lisst
artifacts: lisst-*.tar
makeLatest: true
omitBody: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ See `lisst --help` for a complete list of supported keywords and more useful exa

## Installation

You can download *lisst* as a prebuilt binary [here](https://github.com/terminationshock/lisst/releases/latest).
You can download prebuilt binaries of *lisst* [here](https://github.com/terminationshock/lisst/releases/latest).
If you work with *bash*, you might want to include the corresponding bash completion:
```bash
source bash_completion.sh
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/gdamore/tcell/v2 v2.7.4
github.com/rivo/tview v0.0.0-20240424133105-0d02bb78244d
github.com/rivo/tview v0.0.0-20240426173458-c766eefb3803
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ github.com/rivo/tview v0.0.0-20240413115534-b0d41c484b95 h1:dPivHKc1ZAicSlawH/eA
github.com/rivo/tview v0.0.0-20240413115534-b0d41c484b95/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
github.com/rivo/tview v0.0.0-20240424133105-0d02bb78244d h1:QvTe/sAPqNLSXoUuoxT7UkxWUDfDoxaMcNSLJs8Ox+M=
github.com/rivo/tview v0.0.0-20240424133105-0d02bb78244d/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
github.com/rivo/tview v0.0.0-20240426173458-c766eefb3803 h1:26AUJmGMCp5z8kiJcB3m5vGyj4Pni8aIjy6Ua6Ind7c=
github.com/rivo/tview v0.0.0-20240426173458-c766eefb3803/go.mod h1:02iFIz7K/A9jGCvrizLPvoqr4cEIx7q54RH5Qudkrss=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.3/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
Expand Down

0 comments on commit 50ccc8b

Please sign in to comment.