6
0
mirror of https://github.com/grdl/git-get.git synced 2026-02-05 06:48:48 +00:00

Fix GitHub Actions to match the new single binary release

This commit is contained in:
Grzegorz Dlugoszewski
2025-08-23 23:05:01 +02:00
parent 71f62b2b97
commit 38a76d6b04
3 changed files with 7 additions and 42 deletions

View File

@@ -124,19 +124,20 @@ jobs:
go-version: '1.24'
cache: true
- name: Build binaries
- name: Build binary
run: |
go build -v -o bin/git-get ./cmd/get
go build -v -o bin/git-list ./cmd/list
go build -v -o bin/git-get ./cmd/
- name: Test binaries
- name: Test binary and symlink behavior
run: |
./bin/git-get --version
# Test symlink functionality
ln -sf git-get bin/git-list
./bin/git-list --version
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: binaries
name: binary
path: bin/
retention-days: 30