Skip to content

Commit 5b7c069

Browse files
committed
run in debian container
1 parent aa90c04 commit 5b7c069

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/publish.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
jobs:
77
build-nodejs-deb:
88
runs-on: ubuntu-latest
9+
container:
10+
image: debian:latest
11+
912
steps:
1013
- name: Checkout code
1114
uses: actions/checkout@v2
@@ -26,8 +29,8 @@ jobs:
2629
uses: marvinpinto/action-automatic-releases@latest
2730
with:
2831
repo_token: "${{ secrets.GITHUB_TOKEN }}"
29-
automatic_release_tag: "2.7"
32+
automatic_release_tag: "latest"
3033
prerelease: false
31-
title: "Latest Build 2.7"
34+
title: "Latest Build"
3235
files: |
3336
*.deb

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ mkdir scrcpy/usr
1616
cp -r share scrcpy/usr/
1717

1818
# copy scrcpy binary
19-
mkdir scrcpy/bin
20-
cp scrcpy-git/build-auto/app/scrcpy scrcpy/bin/
19+
mkdir scrcpy/usr/bin
20+
cp scrcpy-git/build-auto/app/scrcpy scrcpy/usr/bin/
2121

2222
# copy scrcpy server file
2323
mkdir -p scrcpy/usr/local/share/scrcpy/

0 commit comments

Comments
 (0)