Skip to content

TEST: try to install curl #1778

TEST: try to install curl

TEST: try to install curl #1778

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:
image: i386/ubuntu:focal
volumes:
- ${{ github.workspace }}:/__e/node20
steps:
- name: Try to replace `node` with an i386 version
shell: bash
run: |
ls -lar /__e/node20 &&
apt-get install -y curl &&
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: .