Skip to content

sudo make me a sandwich #1773

sudo make me a sandwich

sudo make me a sandwich #1773

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: |
mount &&
umount /__e &&
mkdir -p /__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: .