Skip to content

Commit

Permalink
[73_24] Fix CD on debian bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored Feb 25, 2024
1 parent 439ad4d commit 0613da8
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/cd_research_on_debian_bookworm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ jobs:
fail-fast: true
matrix:
include:
- qt_pkg: qt6-base-dev libqt6svg6-dev qt6-image-formats-plugins
qt_ver: 5
- qt_pkg: qt6-base-dev libqt6svg6-dev qt6-image-formats-plugins
qt_ver: 6
steps:
- name: Install dependencies
run: |
DEBIAN_FRONTEND=noninteractive apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y gcc git 7zip unzip curl build-essential \
fonts-noto-cjk libcurl4-openssl-dev libfreetype-dev libfontconfig-dev \
${{matrix.qt_pkg}} libgit2-dev zlib1g-dev libssl-dev libjpeg62-turbo-dev cmake
${{matrix.qt_pkg}} libgit2-dev zlib1g-dev libssl-dev libjpeg62-turbo-dev cmake \
fakeroot debhelper
- uses: actions/checkout@v3
with:
fetch-depth: 1
Expand All @@ -45,16 +46,10 @@ jobs:
- name: xmake repo --update
run: xmake repo --update

- name: Write release version
run: |
VERSION=${GITHUB_REF_NAME#v}
VERSION=${VERSION//\//}
echo Version: $VERSION
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Generate Installer
run: |
packages/debian/package.sh
cp ../mogan*.deb mogan-research-v${VERSION}-debian12.deb
cp ../mogan*.deb mogan-research-v1.2.5-debian12.deb
- name: Upload
uses: actions/upload-artifact@v3
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit 0613da8

Please sign in to comment.