mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-04 22:48:44 +00:00
chore: update windows.yml
This commit is contained in:
parent
b3c25b74fc
commit
b474ecbb61
1 changed files with 5 additions and 5 deletions
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -73,12 +73,12 @@ jobs:
|
||||||
ENV_QT_PATH: ${{ env.qt-install-path }}
|
ENV_QT_PATH: ${{ env.qt-install-path }}
|
||||||
run: |
|
run: |
|
||||||
call "ci\win\build_for_win.bat" release ${{ matrix.msvc-arch }}
|
call "ci\win\build_for_win.bat" release ${{ matrix.msvc-arch }}
|
||||||
# 从tag获取版本号
|
# 获取ref最后一个/后的内容
|
||||||
- name: Get the version
|
- name: Get the version
|
||||||
shell: bash
|
shell: bash
|
||||||
id: get-version
|
id: get-version
|
||||||
# ${ GITHUB_REF/refs\/tags\// }是linux shell ${}的变量替换语法
|
# ${ GITHUB_REF/refs\/tags\// }是linux shell ${}的变量替换语法
|
||||||
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
|
run: echo ::set-output name=version::${GITHUB_REF##*/}
|
||||||
# tag 打包
|
# tag 打包
|
||||||
- name: Package
|
- name: Package
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue