fix: workdir

This commit is contained in:
Git User
2025-04-22 15:21:39 +08:00
parent dc408c882b
commit 7f5fabde15
2 changed files with 14 additions and 14 deletions

View File

@@ -25,7 +25,7 @@ jobs:
- name: "Compile Ubuntu 24.04 (noble) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:24.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:24.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -49,7 +49,7 @@ jobs:
- name: "Compile Ubuntu 22.04 (jammy) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:22.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:22.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -72,7 +72,7 @@ jobs:
- name: "Compile Ubuntu 20.04 (focal) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:20.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:20.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -95,7 +95,7 @@ jobs:
- name: "Compile Ubuntu 18.04 (bionic) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:18.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:18.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -118,7 +118,7 @@ jobs:
- name: "Compile Debian 13 (trixie) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/debian:trixie bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/debian:trixie -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -142,7 +142,7 @@ jobs:
- name: "Compile Debian 12 (bookworm) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/debian:bookworm bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/debian:bookworm -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -166,7 +166,7 @@ jobs:
- name: "Compile Debian 11 (bullseye) [amd64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/debian:bullseye bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/debian:bullseye -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output

View File

@@ -31,7 +31,7 @@ jobs:
- name: "Compile Ubuntu 24.04 (noble) [arm64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:24.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:24.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -61,7 +61,7 @@ jobs:
- name: "Compile Ubuntu 22.04 (jammy) [arm64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:22.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:22.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -90,7 +90,7 @@ jobs:
- name: "Compile Ubuntu 20.04 (focal) [arm64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:20.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:20.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -119,7 +119,7 @@ jobs:
- name: "Compile Ubuntu 18.04 (bionic) [arm64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:18.04 bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/ubuntu:18.04 -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -148,7 +148,7 @@ jobs:
- name: "Compile Debian 13 (trixie) [arm64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/debian:trixie bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/debian:trixie -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -178,7 +178,7 @@ jobs:
- name: "Compile Debian 12 (bookworm) [arm64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/debian:bookworm bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/debian:bookworm -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output
@@ -208,7 +208,7 @@ jobs:
- name: "Compile Debian 11 (bullseye) [arm64]"
run: |
docker run --rm -v ${{ github.workspace }}:/work library/debian:bullseye bash -c "./install_deps.sh && ./compile.sh"
docker run --rm -v ${{ github.workspace }}:/work library/debian:bullseye -w /work bash -c "./install_deps.sh && ./compile.sh"
sudo apt install -y rename
source ${{ github.workspace }}/version.env
pushd ${{ github.workspace }}/output