mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 14:18:45 +00:00
gh-actions: try to standardize the process
This commit is contained in:
parent
4d0a93d150
commit
cc66358343
1 changed files with 14 additions and 1 deletions
15
.github/workflows/ubuntu.yml
vendored
15
.github/workflows/ubuntu.yml
vendored
|
@ -50,8 +50,21 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
python ci/generate-version.py
|
python ci/generate-version.py
|
||||||
ci/linux/build_for_ubuntu.sh RelWithDebInfo
|
ci/linux/build_for_ubuntu.sh RelWithDebInfo
|
||||||
- name: Upload a Build Artifact
|
- name: Upload the Build Artifact
|
||||||
uses: actions/upload-artifact@v3.1.0
|
uses: actions/upload-artifact@v3.1.0
|
||||||
with:
|
with:
|
||||||
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}
|
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}
|
||||||
path: output/x64/RelWithDebInfo/*
|
path: output/x64/RelWithDebInfo/*
|
||||||
|
- 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
|
||||||
|
- name: Upload to Releases
|
||||||
|
uses: svenstaro/upload-release-action@2.3.0
|
||||||
|
with:
|
||||||
|
file: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip
|
||||||
|
asset_name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}.zip
|
||||||
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
overwrite: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue