mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #639] Issue: file system encoding #417
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#417
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dadoonet on GitHub (Apr 26, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/639
Act version
Expected behaviour
I'm trying to copy some files using the maven resources plugin. I have 2 files:
foo.txt中文名称.txtWhen I run
mvn resources:resources, both files should be copied totarget/classes.Actual behaviour
When the filename is using non ascii characters, the file is totally ignored. So at the end I have only
foo.txtin thetarget/classes.It happens when running with
act. But everything is normally copied when I run on Github Actions. See https://github.com/dadoonet/github-actions-maven/runs/2440336772?check_suite_focus=trueWorkflow and/or repository
workflow
Steps to reproduce
actoutputI'm first highlighting the main differences. When I run
ls -lon the source dir, I see:With
act:With Github actions:
And the target dir...
With
act:With Github actions:
Log
Log from Github
@github-actions[bot] commented on GitHub (May 27, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@dadoonet commented on GitHub (May 27, 2021):
A friendly ping to keep it opened. 😉
@github-actions[bot] commented on GitHub (Jun 27, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@jamesiarmes commented on GitHub (Nov 20, 2022):
I suspect that this and #1308 are related. I was having similar issues and setting the language encoding manually addressed the issue:
UTF-8 is the default for GitHub Actions and I believe this should be the case for act as well.