Skip to content

Commit 2cb2de5

Browse files
Update artifacts short SHA
1 parent ae4d73f commit 2cb2de5

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/build-artifacts.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,15 @@ jobs:
6565
with:
6666
subject-path: '"workspace/*.dll","workspace/ExtensionInstaller","workspace/TuneLab"'
6767

68+
- name: Get short SHA
69+
uses: benjlevesque/short-sha@v3.0
70+
id: short-sha
71+
with:
72+
length: 7
73+
6874
- name: Upload artifacts
6975
uses: actions/upload-artifact@v4
7076
with:
71-
name: TuneLab-${{ matrix.runtime }}-${{github.sha}}
77+
name: TuneLab-${{ matrix.runtime }}-${{ steps.short-sha.outputs.sha }}
7278
path: workspace
7379

.github/workflows/upload-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,16 @@ jobs:
6666
contents: write
6767

6868
steps:
69+
- name: Get short SHA
70+
uses: benjlevesque/short-sha@v3.0
71+
id: short-sha
72+
with:
73+
length: 7
74+
6975
- name: Download artifact
7076
uses: actions/download-artifact@v4
7177
with:
72-
name: TuneLab-${{ matrix.runtime }}-${{github.sha}}
78+
name: TuneLab-${{ matrix.runtime }}-${{ steps.short-sha.outputs.sha }}
7379

7480
- name: Package - Windows
7581
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)