Skip to content

Commit a86a33c

Browse files
committed
Rename DBG artifacts
Signed-off-by: Raul Metsma <raul@metsma.ee>
1 parent c8b0907 commit a86a33c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/windows.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,12 @@ jobs:
5757
PACKAGE_SUFFIX="${{ matrix.configuration == 'Light' && '-Light' || '' }}${SUFFIX}"
5858
sed -i.bak "s/^PACKAGE_SUFFIX=\([-~]*[0-9a-zA-Z]*\)$/PACKAGE_SUFFIX=$PACKAGE_SUFFIX/g" VERSION.mk
5959
cat VERSION.mk
60+
while IFS='=' read -r key value; do
61+
# Skip empty or comment lines
62+
[[ -z "$key" || "$key" =~ ^# ]] && continue
63+
export "$key=$value"
64+
done < VERSION.mk
65+
echo "DBG_NAME=${PRODUCT_NAME}-${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_FIX}${PACKAGE_SUFFIX}_${{ matrix.platform }}-dbg.zip" >> $GITHUB_ENV
6066
- name: Install CPDK
6167
run: choco install windows-cryptographic-provider-development-kit -y > $null
6268
- name: Setup dev env
@@ -139,7 +145,7 @@ jobs:
139145
- name: Archive debug artifacts
140146
uses: actions/upload-artifact@v6
141147
with:
142-
name: debug_${{ matrix.image }}_${{ matrix.platform }}_${{ matrix.configuration }}
148+
name: ${{ env.DBG_NAME }}
143149
path: |
144150
./src/**/*.pdb
145151
./win32/*.pdb

0 commit comments

Comments
 (0)