Skip to content

TEST: Try to replace the x86_64 version of node with an i386 one #1771

TEST: Try to replace the x86_64 version of node with an i386 one

TEST: Try to replace the x86_64 version of node with an i386 one #1771

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
demo:
name: demonstrate need for "deprecated" actions/upload-artifact in i386 containers
runs-on: ubuntu-latest
container: i386/ubuntu:focal
steps:
- name: Try to replace `node` with an i386 version
shell: bash
run: |
mv /__e/node20 /__e/node20.x86_64 &&
mkdir /__e/node20 &&
curl -Lo /tmp/node.tar.gz https://unofficial-builds.nodejs.org/download/release/v20.17.0/node-v20.17.0-linux-x86.tar.gz &&
cd /__e/node20 &&
tar -x --strip-components=1 -f /tmp/node.tar.gz
- name: Upload fails
# shows 'exec /__e/node20/bin/node: no such file or directory'
uses: actions/upload-artifact@v4
with:
name: some-artifact
path: .