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:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user