Code Monkey home page Code Monkey logo

Comments (8)

konradpabjan avatar konradpabjan commented on July 27, 2024 3

v2 upload artifact has been released! https://github.blog/changelog/2020-04-28-github-actions-v2-artifact-actions/

Upload and download should now work properly in containers

from upload-artifact.

mballoni avatar mballoni commented on July 27, 2024 2

I'm afraid that I might be facing the same issue. Have you tackled that?

from upload-artifact.

TingluoHuang avatar TingluoHuang commented on July 27, 2024 1

The upload-artifact runs on the host vm, not inside the container, so it can't access $HOME inside the container, please try put anything you want to load under $GITHUB_WORKSPACE, so the upload-artifact can access them.

from upload-artifact.

TingluoHuang avatar TingluoHuang commented on July 27, 2024 1

@zakkak yes, map a host folder into container.

from upload-artifact.

zakkak avatar zakkak commented on July 27, 2024

@TingluoHuang so to my understanding the reason my config is not working is due to some issue in container.volumes since this is supposed to map (and sync I guess) the host folder with the container folder. Is that right?

from upload-artifact.

zakkak avatar zakkak commented on July 27, 2024

I'm afraid that I might be facing the same issue. Have you tackled that?

@mballoni looking at mballoni/boot-validator@cc2a959 I think that your issue is #3, since i don't see any containers in your workflow.

from upload-artifact.

konradpabjan avatar konradpabjan commented on July 27, 2024

Uploading an artifact from a container should now work with the v2-preview

See: #62

from upload-artifact.

vot4anto avatar vot4anto commented on July 27, 2024

Hi,
using the v2 with a CentOS docker : quay.io/pypa/manylinux1_x86_64
image I have this issue:

Run actions/upload-artifact@v2
  with:
    name: gdal wheel linux
    path: wheels/wheelhouse
    if-no-files-found: warn
/usr/bin/docker exec  8764ead10437c87565dcc31ef6ed4e639f253724ca71515af130c266d260e8e4 sh -c "cat /etc/*release | grep ^ID"
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.5' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version `GLIBC_2.16' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version `GLIBC_2.9' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version `GLIBC_2.6' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version `GLIBC_2.7' not found (required by /__e/node12/bin/node)
/__e/node12/bin/node: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /__e/node12/bin/node)

I try to switch to V1 and the issue is different:

Run actions/upload-artifact@v1
  with:
    name: gdal wheel linux
    path: wheels/wheelhouse
Error: Path does not exist wheels/wheelhouse

The path wheel/wheelhouse exist but into the container, I have to use the path outside of it

from upload-artifact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.