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

Output.log : No such file or directory #61

Closed
rizvisx opened this issue Jun 28, 2021 · 8 comments
Closed

Output.log : No such file or directory #61

rizvisx opened this issue Jun 28, 2021 · 8 comments

Comments

@rizvisx
Copy link

rizvisx commented Jun 28, 2021

Here's the composer action which I run

Run php-actions/composer@v5
with:
ssh_key_pub: ***
version: latest
php_version: latest
command: install
interaction: no
dev: yes
progress: no
quiet: no
env:

and it gives me this error.

cat: /home/ubuntu/runner/_work/xyz/xyz/output.log: No such file or directory

@g105b
Copy link
Member

g105b commented Oct 13, 2021

Fixed since v6. Please let me know if you still run into any problems when using @v6

@g105b g105b closed this as completed Oct 13, 2021
@tim-bezhashvyly
Copy link

Still having it using v6

@WybeBaT
Copy link

WybeBaT commented Jan 26, 2022

Same issue for:

  php-stan:
    name: PHPStan
    runs-on: self-hosted
    container:
      image: ubuntu:20.04
      options: --rm

    steps:
      - name: Checkout Code
        uses: actions/checkout@v2

      - name: Set up Composer
        uses: php-actions/composer@v6
        with:
          php_version: 8.0
          version: 2

I had the error since before I added:

        with:
          php_version: 8.0
          version: 2

@g105b
Copy link
Member

g105b commented Jan 27, 2022

I'll take a look at this in the next couple of days.

@patie
Copy link

patie commented Jan 28, 2022

same problem

@g105b
Copy link
Member

g105b commented Feb 5, 2022

Hey @patie, @WybeBaT, @llzard, @rizvisx,

I've been experimenting with different build setups in the example composer repository and I can't replicate this issue. I've made a new branch on the composer action too to see if I can help diagnose this issue.

What would really help me is if you could provide me with a link to an actions run that is failing in this way, or if that's not possible due to private repos, please can you try to use composer@output-improvement instead of composer@v6?

Thanks, and sorry for the delay in coming back to you... it's been a busy period for me.

Greg.

@mostafakram
Copy link

Hello @g105b I face the same issue when working on a container that include other services as mysql but it works fine if no container services are defined

@tobalsan
Copy link

Hey folks,

I've got the same issue. I think it has happens when you run your workflow inside a container.
The action uses the ${github.workspace} variable, but there's an opened issue about the variable having an incorrect value inside a container.

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

No branches or pull requests

7 participants