forked from barry-ran/QtScrcpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gh-actions: use relwithdebinfo for actions and release for releases
- Loading branch information
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|