Closed salatielosorno closed 1 year ago
You can ignore it, it's the result of the internal docker being launched without specifying an architecture, because it depends from the one associated with the image being used.
@uraimo Thanks for quickly answering. However, I am using Electron whose script called publish
allow you to create the .deb file based on arch where script is running and I am getting an amd64 file instead of an arm64 file.
Oh I see now, the problem is that you have added additional steps after the one using run-on-arch, you should add all those commands in the same run block, otherwise you exit the emulated context and go back to the original x64 host, i.e.:
steps:
- uses: actions/checkout@v2
- uses: uraimo/run-on-arch-action@v2
name: Run commands
id: runcmd
with:
arch: ${{ matrix.arch }}
distro: ${{ matrix.distro }}
env: |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
uname -a
echo ::set-output name=uname::$(uname -a)
apt-get update -q -y
sudo apt install nodejs -y && sudo apt install npm -y
npm --version
npm install
npm run publish
@uraimo Thanks, I can see my error 😅 I am facing other issues but I think they lies on my code. Thanks for your quick answering.
I am getting the following message:
Here is my
yml
file:The workflows runs ok. However I need to build my application using
arm64
arch. Any idea what is happening?