Upload both Ubuntu .deb packages & Windows .pdb symbols in releases (#4372)

This commit is contained in:
pajlada 2023-02-13 10:34:40 +01:00 committed by GitHub
parent ae7567121b
commit ef3a607af5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -15,6 +15,9 @@ packaging_dir="package"
# Get the Ubuntu Release (e.g. 20.04 or 22.04)
ubuntu_release="$(lsb_release -rs)"
# The final path where we'll save the .deb package
deb_path="Chatterino-${ubuntu_release}-x86_64.deb"
# Refactor opportunity:
case "$ubuntu_release" in
20.04)
@ -77,15 +80,15 @@ breakline
echo "Building package"
dpkg-deb --build "$packaging_dir" "Chatterino-x86_64.deb"
dpkg-deb --build "$packaging_dir" "$deb_path"
breakline
echo "Package info"
dpkg --info Chatterino-x86_64.deb
dpkg --info "$deb_path"
breakline
echo "Package contents"
dpkg --contents Chatterino-x86_64.deb # Shows folders and files inside .deb file
dpkg --contents "$deb_path"
breakline

View file

@ -264,7 +264,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: Chatterino-${{ matrix.os }}-Qt-${{ matrix.qt-version }}.deb
path: build/Chatterino-x86_64.deb
path: build/Chatterino-${{ matrix.os }}-x86_64.deb
# MACOS
- name: Install dependencies (MacOS)
@ -316,6 +316,11 @@ jobs:
name: chatterino-windows-x86-64-5.15.2.zip
path: release-artifacts/
- uses: actions/download-artifact@v3
with:
name: chatterino-windows-x86-64-5.15.2-symbols.pdb.zip
path: release-artifacts/
- uses: actions/download-artifact@v3
with:
name: Chatterino-x86_64-5.15.2.AppImage