mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 11:35:56 +00:00
gh-actions: try to standardize the process
This commit is contained in:
parent
90dfcbd075
commit
26b0c896ad
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: |
|
||||
python ci/generate-version.py
|
||||
ci/linux/build_for_ubuntu.sh RelWithDebInfo
|
||||
- name: Upload a Build Artifact
|
||||
- name: Upload the Build Artifact
|
||||
uses: actions/upload-artifact@v3.1.0
|
||||
with:
|
||||
name: QtScrcpy-${{ matrix.os }}-${{ matrix.qt-arch-install }}
|
||||
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
Reference in a new issue