Simplify GitHub actions step descriptions
Each step is executed within the context of an action, so there is no need to mention the name of the action.
This commit is contained in:
parent
b901cb1c40
commit
f7ff391afd
38
.github/workflows/release.yml
vendored
38
.github/workflows/release.yml
vendored
@ -42,10 +42,10 @@ jobs:
|
|||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
||||||
- name: Build scrcpy-server
|
- name: Build
|
||||||
run: release/build_server.sh
|
run: release/build_server.sh
|
||||||
|
|
||||||
- name: Upload scrcpy-server artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: scrcpy-server
|
name: scrcpy-server
|
||||||
@ -63,7 +63,7 @@ jobs:
|
|||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
||||||
- name: Build scrcpy-server without gradle
|
- name: Build without gradle
|
||||||
run: server/build_without_gradle.sh
|
run: server/build_without_gradle.sh
|
||||||
|
|
||||||
test-client:
|
test-client:
|
||||||
@ -95,7 +95,7 @@ jobs:
|
|||||||
libavutil-dev libswresample-dev libusb-1.0-0 libusb-1.0-0-dev \
|
libavutil-dev libswresample-dev libusb-1.0-0 libusb-1.0-0-dev \
|
||||||
libv4l-dev
|
libv4l-dev
|
||||||
|
|
||||||
- name: Build linux
|
- name: Build
|
||||||
run: release/build_linux.sh
|
run: release/build_linux.sh
|
||||||
|
|
||||||
# upload-artifact does not preserve permissions
|
# upload-artifact does not preserve permissions
|
||||||
@ -106,7 +106,7 @@ jobs:
|
|||||||
cd dist-tar
|
cd dist-tar
|
||||||
tar -C .. -cvf dist.tar.gz dist/
|
tar -C .. -cvf dist.tar.gz dist/
|
||||||
|
|
||||||
- name: Upload build-linux artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-linux-intermediate
|
name: build-linux-intermediate
|
||||||
@ -128,7 +128,7 @@ jobs:
|
|||||||
- name: Workaround for old meson version run by Github Actions
|
- name: Workaround for old meson version run by Github Actions
|
||||||
run: sed -i 's/^pkg-config/pkgconfig/' cross_win32.txt
|
run: sed -i 's/^pkg-config/pkgconfig/' cross_win32.txt
|
||||||
|
|
||||||
- name: Build win32
|
- name: Build
|
||||||
run: release/build_windows.sh 32
|
run: release/build_windows.sh 32
|
||||||
|
|
||||||
# upload-artifact does not preserve permissions
|
# upload-artifact does not preserve permissions
|
||||||
@ -139,7 +139,7 @@ jobs:
|
|||||||
cd dist-tar
|
cd dist-tar
|
||||||
tar -C .. -cvf dist.tar.gz dist/
|
tar -C .. -cvf dist.tar.gz dist/
|
||||||
|
|
||||||
- name: Upload build-win32 artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-win32-intermediate
|
name: build-win32-intermediate
|
||||||
@ -161,7 +161,7 @@ jobs:
|
|||||||
- name: Workaround for old meson version run by Github Actions
|
- name: Workaround for old meson version run by Github Actions
|
||||||
run: sed -i 's/^pkg-config/pkgconfig/' cross_win64.txt
|
run: sed -i 's/^pkg-config/pkgconfig/' cross_win64.txt
|
||||||
|
|
||||||
- name: Build win64
|
- name: Build
|
||||||
run: release/build_windows.sh 64
|
run: release/build_windows.sh 64
|
||||||
|
|
||||||
# upload-artifact does not preserve permissions
|
# upload-artifact does not preserve permissions
|
||||||
@ -172,7 +172,7 @@ jobs:
|
|||||||
cd dist-tar
|
cd dist-tar
|
||||||
tar -C .. -cvf dist.tar.gz dist/
|
tar -C .. -cvf dist.tar.gz dist/
|
||||||
|
|
||||||
- name: Upload build-win64 artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-win64-intermediate
|
name: build-win64-intermediate
|
||||||
@ -189,7 +189,7 @@ jobs:
|
|||||||
brew install meson ninja nasm libiconv zlib automake autoconf \
|
brew install meson ninja nasm libiconv zlib automake autoconf \
|
||||||
libtool
|
libtool
|
||||||
|
|
||||||
- name: Build macOS
|
- name: Build
|
||||||
run: release/build_macos.sh
|
run: release/build_macos.sh
|
||||||
|
|
||||||
# upload-artifact does not preserve permissions
|
# upload-artifact does not preserve permissions
|
||||||
@ -200,7 +200,7 @@ jobs:
|
|||||||
cd dist-tar
|
cd dist-tar
|
||||||
tar -C .. -cvf dist.tar.gz dist/
|
tar -C .. -cvf dist.tar.gz dist/
|
||||||
|
|
||||||
- name: Upload build-macos artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-macos-intermediate
|
name: build-macos-intermediate
|
||||||
@ -233,10 +233,10 @@ jobs:
|
|||||||
cd release/work/build-linux
|
cd release/work/build-linux
|
||||||
tar xf dist-tar/dist.tar.gz
|
tar xf dist-tar/dist.tar.gz
|
||||||
|
|
||||||
- name: Package linux
|
- name: Package
|
||||||
run: release/package_client.sh linux tar.gz
|
run: release/package_client.sh linux tar.gz
|
||||||
|
|
||||||
- name: Upload linux release
|
- name: Upload release
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release-linux
|
name: release-linux
|
||||||
@ -269,10 +269,10 @@ jobs:
|
|||||||
cd release/work/build-win32
|
cd release/work/build-win32
|
||||||
tar xf dist-tar/dist.tar.gz
|
tar xf dist-tar/dist.tar.gz
|
||||||
|
|
||||||
- name: Package win32
|
- name: Package
|
||||||
run: release/package_client.sh win32 zip
|
run: release/package_client.sh win32 zip
|
||||||
|
|
||||||
- name: Upload win32 release
|
- name: Upload release
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release-win32
|
name: release-win32
|
||||||
@ -305,10 +305,10 @@ jobs:
|
|||||||
cd release/work/build-win64
|
cd release/work/build-win64
|
||||||
tar xf dist-tar/dist.tar.gz
|
tar xf dist-tar/dist.tar.gz
|
||||||
|
|
||||||
- name: Package win64
|
- name: Package
|
||||||
run: release/package_client.sh win64 zip
|
run: release/package_client.sh win64 zip
|
||||||
|
|
||||||
- name: Upload win64 release
|
- name: Upload release
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release-win64
|
name: release-win64
|
||||||
@ -341,10 +341,10 @@ jobs:
|
|||||||
cd release/work/build-macos
|
cd release/work/build-macos
|
||||||
tar xf dist-tar/dist.tar.gz
|
tar xf dist-tar/dist.tar.gz
|
||||||
|
|
||||||
- name: Package macos
|
- name: Package
|
||||||
run: release/package_client.sh macos tar.gz
|
run: release/package_client.sh macos tar.gz
|
||||||
|
|
||||||
- name: Upload macos release
|
- name: Upload release
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: release-macos
|
name: release-macos
|
||||||
|
Loading…
x
Reference in New Issue
Block a user