Skip to content

Commit 78b0c57

Browse files
committed
Update ci
1 parent 9599600 commit 78b0c57

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,12 @@ jobs:
5555
- name: Build
5656
run: |
5757
New-Item -ItemType Directory -Force dist | Out-Null
58-
$os = ($env:RUNNER_OS).ToLowerInvariant()
59-
$arch = ($env:RUNNER_ARCH).ToLowerInvariant()
6058
$ext = if ($env:RUNNER_OS -eq 'Windows') { '.exe' } else { '' }
61-
go build -v -o "dist/dspm-$os-$arch$ext" ./cmd/dspm
59+
go build -v -o "dist/dspm$ext" ./cmd/dspm
6260
6361
- name: Upload artifact
6462
uses: actions/upload-artifact@v7
6563
with:
66-
name: dspm-${{ runner.os }}-${{ runner.arch }}
64+
name: dspm-${{ runner.os }}-${{ runner.arch }}-${{ github.sha }}
6765
path: dist/*
6866
if-no-files-found: error

0 commit comments

Comments
 (0)