diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5eb042c..56fb028 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,6 +27,9 @@ jobs: - name: Build (Makefile linux-x64) run: make linux-x64 + - name: Fix permissions + run: sudo chown -R $(id -u):$(id -g) target + - name: Build Debian package run: | cargo deb --no-build --target x86_64-unknown-linux-musl \ diff --git a/Makefile b/Makefile index 33c3998..e662d7e 100644 --- a/Makefile +++ b/Makefile @@ -241,7 +241,6 @@ endif linux-x64: check-docker create-dockerignore @mkdir -p target/release docker run --platform linux/amd64 --rm \ - --user "$(shell id -u):$(shell id -g)" \ -v "$$(pwd):/src" -w /src rust:1.88-alpine sh -eu -c '\ apk add --no-cache \ musl-dev \ @@ -271,7 +270,6 @@ linux-x64: check-docker create-dockerignore linux-arm64: check-docker create-dockerignore @mkdir -p target/release docker run --platform linux/arm64 --rm \ - --user "$(shell id -u):$(shell id -g)" \ -v "$$(pwd):/src" -w /src rust:1.88-alpine sh -eu -c '\ apk add --no-cache \ musl-dev \