Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using '/bin/tar' in my container #18

Closed
BLKKKBVSIK opened this issue Nov 24, 2019 · 2 comments
Closed

Error using '/bin/tar' in my container #18

BLKKKBVSIK opened this issue Nov 24, 2019 · 2 comments

Comments

@BLKKKBVSIK
Copy link

Hello,

I'm trying to set up my first Github Action, and im getting an error using your flutter-action:
I ll attach log to the issue.

Here is my actual dart.yml

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest

    container:
      image:  google/dart:latest

    steps:
      - uses: actions/checkout@v1
      - name: Flutter action
        uses: subosito/flutter-action@v1.1.1
      - name: Install dependencies
        run: flutter pub get
      - name: Run tests
        run: flutter test
      - name: Build APK
        run: flutter build apk

And i got an error about the /bin/tar of the container

/usr/bin/docker exec  5b59092a4ed8fd5c8f78f3a026cccaf960b4dc3145c3ea07a0a9b34a170e6eb3 sh -c "cat /etc/*release | grep ^ID"
Running JavaScript Action with default external tool: node12
/bin/tar x -C /__w/_temp/temp_401169546 -f /__w/_temp/b11cab69-922a-4229-b27e-57f05f10e955
tar (child): xz: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
/bin/tar: Child returned status 2
/bin/tar: Error is not recoverable: exiting now
##[error]The process '/bin/tar' failed with exit code 2
##[error]Node run failed with exit code 1

So here is my log archive:
logs_4.zip

@BLKKKBVSIK
Copy link
Author

I actually didn't saw that its the same problem as issue #17
Sorry for the duplicate, tho i got the complete log file, so i ll keep it open in case it can help you.

@subosito
Copy link
Owner

Duplicate of #5. See solution #5 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants