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

bug: 🐝 File not found v4/lib/main.js #1697

Closed
sebnitu opened this issue Sep 27, 2024 · 18 comments
Closed

bug: 🐝 File not found v4/lib/main.js #1697

sebnitu opened this issue Sep 27, 2024 · 18 comments
Assignees
Labels
bug 🐝 This issue describes a bug. priority ‼️ This issue/PR is urgent. version 4 Issues related to version 4 of this action.

Comments

@sebnitu
Copy link

sebnitu commented Sep 27, 2024

Describe the bug

Currently getting this error when the deploy step is reached:

Run JamesIves/github-pages-deploy-action@v4
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js'

Reproduction Steps

image

Logs

##[debug]Evaluating condition for step: 'Deploy'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Deploy
##[debug]Loading inputs
##[debug]Evaluating: github.token
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'token'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Run JamesIves/github-pages-deploy-action@v4
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js'
##[debug]System.IO.FileNotFoundException: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js'
##[debug]File name: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4/lib/main.js'
##[debug]   at GitHub.Runner.Sdk.ArgUtil.File(String fileName, String name)
##[debug]   at GitHub.Runner.Worker.Handlers.NodeScriptActionHandler.RunAsync(ActionRunStage stage)
##[debug]   at GitHub.Runner.Worker.ActionRunner.RunAsync()
##[debug]   at GitHub.Runner.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken)
##[debug]Finishing: Deploy

Workflow

name: Deploy

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: 16.13.0

      - name: Setup
        run: npm ci
  
      - name: Build
        run: npm run build

      - name: Deploy
        uses: JamesIves/github-pages-deploy-action@v4
        with:
          branch: gh-pages
          folder: dist


### Additional Comments

_No response_
@sebnitu sebnitu added bug 🐝 This issue describes a bug. triage ⚠️ labels Sep 27, 2024
@vferat
Copy link

vferat commented Sep 27, 2024

same issue on my side

@ben-d-marks
Copy link

Same

@Ncookiez
Copy link

Until this issue is fixed:
Change uses: JamesIves/github-pages-deploy-action@v4 to uses: JamesIves/github-pages-deploy-action@v4.6.4
Confirmed working on my end.

@pingu2k4
Copy link

Same issue here. Using similar to the solution above, but pinning to the commit hash to revert to previous version:

uses: JamesIves/github-pages-deploy-action@920cbb300dcd3f0568dbc42700c61e2fd9e6139c # v4

@mahima98
Copy link

mahima98 commented Sep 27, 2024

Same issue on my side and tomorrow am doing a presentation demo on "Exploring Nuxt Studio" 🥹

Scthe added a commit to Scthe/frostbitten-hair-webgpu that referenced this issue Sep 27, 2024
@ml-james
Copy link

Same issue here.

@Anchorsify
Copy link

Same issue as well.

@MrSunshyne
Copy link

same issue

@MrSunshyne
Copy link

For now i've fixed this by changing the version to 4.6.4 manually in the workflow file instead of v4.

image

Here the reproduction repo

@splincode
Copy link

@d33bs
Copy link

d33bs commented Sep 27, 2024

Also seeing this issue occur. Thank you for any fixes and for the work in general on this project!

McBen added a commit to McBen/ingress-intel-total-conversion-R that referenced this issue Sep 27, 2024
@remarkablemark
Copy link

Totktonada added a commit to Totktonada/tarantool that referenced this issue Sep 28, 2024
The new version of the publishing action leads to the following error:

NOWRAP
```
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4.6.6/lib/main.js'
```
NOWRAP

Let's revert it to v4.6.4 (because v4.6.5 change was reverted in v4.6.6).

See also JamesIves/github-pages-deploy-action#1697

NO_DOC=no code changes
NO_CHANGELOG=see NO_DOC
NO_TEST=see NO_DOC
Totktonada added a commit to tarantool/tarantool that referenced this issue Sep 28, 2024
The new version of the publishing action leads to the following error:

NOWRAP
```
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4.6.6/lib/main.js'
```
NOWRAP

Let's revert it to v4.6.4 (because v4.6.5 change was reverted in v4.6.6).

See also JamesIves/github-pages-deploy-action#1697

NO_DOC=no code changes
NO_CHANGELOG=see NO_DOC
NO_TEST=see NO_DOC
remarkablemark added a commit to remarkablegames/haunted-heir that referenced this issue Sep 28, 2024
EricSDavis added a commit to vindhyadatascience/vindhyadatascience.github.io that referenced this issue Sep 28, 2024
garv-shah added a commit to garv-shah/2cousins-website that referenced this issue Sep 28, 2024
@yongzx
Copy link

yongzx commented Sep 28, 2024

Still seeing the same issue
image

raymondEhlers added a commit to raymondEhlers/raymondehlers.github.io that referenced this issue Sep 28, 2024
ilopushenko added a commit to ilopushenko/ilopushenko.github.io that referenced this issue Sep 28, 2024
JamesIves/github-pages-deploy-action#1697

Until this issue is fixed:
Change uses: JamesIves/github-pages-deploy-action@v4 to uses: JamesIves/github-pages-deploy-action@v4.6.4
Confirmed working on my end.
JaeTLDR added a commit to i-c-stratigraphy/chart-data that referenced this issue Sep 28, 2024
@fscdc
Copy link

fscdc commented Sep 28, 2024

same issue! it works out!

@peterschmidt85
Copy link

Same issue. Any update on this?

@fscdc
Copy link

fscdc commented Sep 28, 2024

Same issue. Any update on this?

v4 -> v4.6.4

northword added a commit to zotero-chinese/website that referenced this issue Sep 28, 2024
This was referenced Sep 28, 2024
northword added a commit to zotero-chinese/zotero-plugins that referenced this issue Sep 28, 2024
draptik added a commit to draptik/2024-mutation-testing that referenced this issue Sep 28, 2024
@246859
Copy link

246859 commented Sep 28, 2024

same issue

@JamesIves
Copy link
Owner

JamesIves commented Sep 28, 2024

This issue has now been resolved as of v4.6.7, apologies about that. I'm going to make some adjustments to the integration tests so this doesn't go missed during the release cycle. The v4 major tag has also been updated so any existing workflows should now work as expected.

@JamesIves JamesIves added priority ‼️ This issue/PR is urgent. version 4 Issues related to version 4 of this action. and removed triage ⚠️ labels Sep 28, 2024
remarkablemark added a commit to remarkablegames/haunted-heir that referenced this issue Sep 29, 2024
Totktonada added a commit to Totktonada/tarantool that referenced this issue Sep 30, 2024
The new version of the publishing action leads to the following error:

NOWRAP
```
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4.6.6/lib/main.js'
```
NOWRAP

Let's revert it to v4.6.4 (because v4.6.5 change was reverted in v4.6.6).

See also JamesIves/github-pages-deploy-action#1697

NO_DOC=no code changes
NO_CHANGELOG=see NO_DOC
NO_TEST=see NO_DOC

(cherry picked from commit 7cf41a1)
Totktonada added a commit to Totktonada/tarantool that referenced this issue Sep 30, 2024
The new version of the publishing action leads to the following error:

NOWRAP
```
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4.6.6/lib/main.js'
```
NOWRAP

Let's revert it to v4.6.4 (because v4.6.5 change was reverted in v4.6.6).

See also JamesIves/github-pages-deploy-action#1697

NO_DOC=no code changes
NO_CHANGELOG=see NO_DOC
NO_TEST=see NO_DOC

(cherry picked from commit 7cf41a1)
Totktonada added a commit to tarantool/tarantool that referenced this issue Sep 30, 2024
The new version of the publishing action leads to the following error:

NOWRAP
```
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4.6.6/lib/main.js'
```
NOWRAP

Let's revert it to v4.6.4 (because v4.6.5 change was reverted in v4.6.6).

See also JamesIves/github-pages-deploy-action#1697

NO_DOC=no code changes
NO_CHANGELOG=see NO_DOC
NO_TEST=see NO_DOC

(cherry picked from commit 7cf41a1)
Totktonada added a commit to tarantool/tarantool that referenced this issue Sep 30, 2024
The new version of the publishing action leads to the following error:

NOWRAP
```
Error: File not found: '/home/runner/work/_actions/JamesIves/github-pages-deploy-action/v4.6.6/lib/main.js'
```
NOWRAP

Let's revert it to v4.6.4 (because v4.6.5 change was reverted in v4.6.6).

See also JamesIves/github-pages-deploy-action#1697

NO_DOC=no code changes
NO_CHANGELOG=see NO_DOC
NO_TEST=see NO_DOC

(cherry picked from commit 7cf41a1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐝 This issue describes a bug. priority ‼️ This issue/PR is urgent. version 4 Issues related to version 4 of this action.
Projects
None yet
Development

No branches or pull requests