Skip to content

Commit

Permalink
gh-actions: use relwithdebinfo for actions and release for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Ujhhgtg committed Aug 8, 2022
1 parent 1d46e38 commit dd3a49b
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,34 @@ jobs:
fetch-depth: 0
submodules: 'true'
ssh-key: ${{ secrets.BOT_SSH_KEY }}
- name: Build Ubuntu
- name: Build RelWithDebInfo
env:
ENV_QT_PATH: ${{ env.qt-install-path }}
run: |
python ci/generate-version.py
ci/linux/build_for_ubuntu.sh RelWithDebInfo
- name: Upload the Build Artifact
- name: Upload RelWithDebInfo
uses: actions/[email protected]
with:
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-RelWithDebInfo
path: output/x64/RelWithDebInfo/*
- name: Build Release
env:
ENV_QT_PATH: ${{ env.qt-install-path }}
run: |
python ci/generate-version.py
ci/linux/build_for_ubuntu.sh Release
- name: Upload Release
uses: actions/[email protected]
with:
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}-Release
path: output/x64/Release/*
- name: Install the zip utility
run: |
sudo apt install zip -y
- name: Zip the Artifacts
run: |
zip -r QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip output/x64/RelWithDebInfo
zip -r QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip output/x64/Release
- name: Upload to Releases
if: startsWith(github.ref, 'refs/tags/')
uses: svenstaro/[email protected]
Expand Down

0 comments on commit dd3a49b

Please sign in to comment.