30:先install好,再进arm64的容器进行build(容器以root用户运行)
parent
2976305036
commit
0590a146d6
|
@ -26,6 +26,7 @@ jobs:
|
||||||
|
|
||||||
- name: "Print"
|
- name: "Print"
|
||||||
run: |
|
run: |
|
||||||
|
whoami;
|
||||||
echo "version = ${{ steps.package-info.outputs.version }}";
|
echo "version = ${{ steps.package-info.outputs.version }}";
|
||||||
echo "github.ref_type = ${{ github.ref_type }}";
|
echo "github.ref_type = ${{ github.ref_type }}";
|
||||||
echo "github.ref = ${{ github.ref }}";
|
echo "github.ref = ${{ github.ref }}";
|
||||||
|
@ -91,13 +92,17 @@ jobs:
|
||||||
-u 0 \
|
-u 0 \
|
||||||
-v ${{ github.workspace }}:/workspace:rw --workdir=/workspace \
|
-v ${{ github.workspace }}:/workspace:rw --workdir=/workspace \
|
||||||
--platform linux/arm64 arm64v8/ubuntu:20.04 \
|
--platform linux/arm64 arm64v8/ubuntu:20.04 \
|
||||||
bash -exc 'ls -lah && \
|
bash -exc 'whoami && \
|
||||||
|
ls -lah && \
|
||||||
cd packages/gui && \
|
cd packages/gui && \
|
||||||
ls -lah && \
|
ls -lah && \
|
||||||
mkdir -p /root/.cache/electron && \
|
mkdir -p /root/.cache/electron && \
|
||||||
chmod u+r /root/.cache/electron && \
|
cd /root/.cache && \
|
||||||
touch /root/.cache/electron/electron-v17.4.11-linux-arm64.zip && \
|
ls -l && \
|
||||||
chmod u+r /root/.cache/electron/electron-v17.4.11-linux-arm64.zip && \
|
chmod u+r+x /root/.cache/electron && \
|
||||||
|
cd /root/.cache && \
|
||||||
|
ls -l && \
|
||||||
|
cd /workspace && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install curl -y && \
|
apt-get install curl -y && \
|
||||||
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
|
|
Loading…
Reference in New Issue