Skip to content

Commit 6f44a87

Browse files
authored
fix: update artifact naming to use run number instead of ref name (#21)
ref name is usually like fix/xxx
1 parent 3311bb9 commit 6f44a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
id: prep_artifact
3232
run: |
3333
# Use runner.arch which resolves to 'x64' or 'arm64'
34-
FINAL_NAME="git-crypt-${{ github.ref_name }}-darwin-${{ runner.arch }}"
34+
FINAL_NAME="git-crypt-${{ github.run_number }}-darwin-${{ runner.arch }}"
3535
3636
# Append '-dev' suffix for non-release builds (e.g., PRs)
3737
if [[ "${{ github.event_name }}" != 'release' ]]; then

0 commit comments

Comments
 (0)