mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 03:25:03 +00:00
add tag to AppImage artifact
Update build-appimage.yml Update setup_scrcpy.sh Update build-appimage.yml Update setup_scrcpy.sh Update build-appimage.yml Update setup_scrcpy.sh Update build-appimage.yml Update build-appimage.yml Update build-appimage.yml Update build-appimage.yml Update build-appimage.yml Update build-appimage.yml add release tag to appimage name Update build-appimage.yml Update create_appimage.sh Update build-appimage.yml Update build-appimage.yml
This commit is contained in:
parent
f7ddc8f79b
commit
c81aaf119e
2 changed files with 4 additions and 2 deletions
2
.github/scripts/setup_scrcpy.sh
vendored
2
.github/scripts/setup_scrcpy.sh
vendored
|
@ -11,6 +11,8 @@ git clone https://github.com/Genymobile/scrcpy
|
|||
cd scrcpy
|
||||
|
||||
latest_tag=$(git describe --tags --abbrev=0)
|
||||
echo "LATEST_TAG=$latest_tag" >> $GITHUB_ENV # will be used to upload artifact with tag
|
||||
|
||||
wget https://github.com/Genymobile/scrcpy/releases/download/$latest_tag/scrcpy-server-$latest_tag \
|
||||
-O scrcpy-server
|
||||
|
||||
|
|
4
.github/workflows/build-appimage.yml
vendored
4
.github/workflows/build-appimage.yml
vendored
|
@ -43,6 +43,6 @@ jobs:
|
|||
- name: Upload output file
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: scrcpy-x86_64.AppImage
|
||||
name: scrcpy-x86_64-${{ env.LATEST_TAG }}.AppImage
|
||||
path: ./scrcpy*.AppImage
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue