Skip to content

Commit 58aaad9

Browse files
authored
Give artifacts a unique name per run
1 parent eda0b91 commit 58aaad9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build-glibc-and-release.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ jobs:
4040
wget -q -O COPYING 'https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=COPYING;hb=HEAD'
4141
wget -q -O LICENSES 'https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=LICENSES;hb=HEAD'
4242
43-
- name: "Move build output to unique name in job"
44-
shell: bash
45-
run: |
46-
mv build build-${{ inputs.dist-base }}-${{ inputs.dist-tag }}
47-
4843
- name: Delete existing release
4944
uses: dev-drprasad/[email protected]
5045
with:
@@ -56,8 +51,9 @@ jobs:
5651
- name: Upload artifacts
5752
uses: actions/upload-artifact@v4
5853
with:
54+
name: ${{ inputs.dist-base }}-${{ inputs.dist-tag }}
5955
path: |
60-
build-${{ inputs.dist-base }}-${{ inputs.dist-tag }}/*
56+
build/*
6157
6258
- name: Release artifacts
6359
uses: softprops/action-gh-release@v1
@@ -69,4 +65,4 @@ jobs:
6965
draft: false
7066
generate_release_notes: false
7167
files: |
72-
build-${{ inputs.dist-base }}-${{ inputs.dist-tag }}/*
68+
build/*

0 commit comments

Comments
 (0)