sudo make me a sandwich #1773
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: . |