mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Upload both Ubuntu .deb packages & Windows .pdb symbols in releases (#4372)
This commit is contained in:
parent
ae7567121b
commit
ef3a607af5
|
@ -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
|
||||
|
|
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue