[GH-ISSUE #639] Issue: file system encoding #417

Open
opened 2026-03-01 21:43:10 +03:00 by kerem · 4 comments
Owner

Originally created by @dadoonet on GitHub (Apr 26, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/639

Act version

act version 0.2.21

Expected behaviour

I'm trying to copy some files using the maven resources plugin. I have 2 files:

  • foo.txt
  • 中文名称.txt

When I run mvn resources:resources, both files should be copied to target/classes.

Actual behaviour

When the filename is using non ascii characters, the file is totally ignored. So at the end I have only foo.txt in the target/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=true

Workflow and/or repository

workflow
name: Java CI with Maven

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: List the files in the target dir. We should have foo.txt and 中文名称.txt
        run: |
          ls -l src/main/resources
          files=$(ls src/main/resources | wc -l)
          if [ "$files" -lt 2 ]; then exit $files; fi
      - name: Set up JDK 15
        uses: actions/setup-java@v2
        with:
          java-version: '15'
          distribution: 'adopt'
      - name: Copy the resources using maven
        run: mvn --batch-mode resources:resources > /tmp/maven.log
      - name: List the files in the target dir. We should have 2 files. foo.txt and 中文名称.txt
        run: |
          ls -l target/classes
          files=$(ls target/classes | wc -l)
          if [ "$files" -lt 2 ]; then exit $files; fi

Steps to reproduce

git clone git@github.com:dadoonet/github-actions-maven.git
cd github-actions-maven
act

act output

I'm first highlighting the main differences. When I run ls -l on the source dir, I see:

With act:

| -rw-r--r-- 1 501 dialout 8 Apr 26 15:01  foo.txt
| -rw-r--r-- 1 501 dialout 8 Apr 26 15:01 ''$'\344\270\255\346\226\207\345\220\215\347\247\260''.txt'

With Github actions:

2021-04-26T16:31:45.8926980Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 foo.txt
2021-04-26T16:31:45.8928565Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 中文名称.txt

And the target dir...

With act:

[Java CI with Maven/build]   | -rw-r--r-- 1 root root 8 Apr 26 16:27 foo.txt

With Github actions:

2021-04-26T16:32:00.1616842Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 foo.txt
2021-04-26T16:32:00.1617681Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 中文名称.txt
Log
[Java CI with Maven/build] 🚀  Start image=nektos/act-environments-ubuntu:18.04
[Java CI with Maven/build]   🐳  docker run image=nektos/act-environments-ubuntu:18.04 platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Java CI with Maven/build]   🐳  docker cp src=/Users/dpilato/Documents/Elasticsearch/dev/tests/github-actions-maven/. dst=/Users/dpilato/Documents/Elasticsearch/dev/tests/github-actions-maven
[Java CI with Maven/build] ⭐  Run actions/checkout@v2
[Java CI with Maven/build]   ✅  Success - actions/checkout@v2
[Java CI with Maven/build] ⭐  Run List the files in the target dir. We should have foo.txt and 中文名称.txt
| total 8
| -rw-r--r-- 1 501 dialout 8 Apr 26 15:01  foo.txt
| -rw-r--r-- 1 501 dialout 8 Apr 26 15:01 ''$'\344\270\255\346\226\207\345\220\215\347\247\260''.txt'
[Java CI with Maven/build]   ✅  Success - List the files in the target dir. We should have foo.txt and 中文名称.txt
[Java CI with Maven/build] ⭐  Run Set up JDK 15
[Java CI with Maven/build]   ☁  git clone 'https://github.com/actions/setup-java' # ref=v2
[Java CI with Maven/build]   🐳  docker cp src=/Users/dpilato/.cache/act/actions-setup-java@v2 dst=/actions/
[Java CI with Maven/build]   | Trying to resolve the latest version from remote
[Java CI with Maven/build]   | Resolved latest version as 15.0.2+7
[Java CI with Maven/build]   | Trying to download...
[Java CI with Maven/build]   | Downloading Java 15.0.2+7 (Adopt) from https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%2B7/OpenJDK15U-jdk_x64_linux_hotspot_15.0.2_7.tar.gz ...
[Java CI with Maven/build]   💬  ::debug::Downloading https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%252B7/OpenJDK15U-jdk_x64_linux_hotspot_15.0.2_7.tar.gz
[Java CI with Maven/build]   💬  ::debug::Destination /tmp/ce561b96-5b49-436c-ab6c-47dd1a34d4b7
[Java CI with Maven/build]   💬  ::debug::download complete
[Java CI with Maven/build]   | Extracting Java archive...
[Java CI with Maven/build]   💬  ::debug::Checking tar --version
[Java CI with Maven/build]   💬  ::debug::tar (GNU tar) 1.29%0ACopyright (C) 2015 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason.
[Java CI with Maven/build]   | [command]/bin/tar xz --warning=no-unknown-keyword -C /tmp/490632cf-4363-4cd6-8f8b-661163fdb1bc -f /tmp/ce561b96-5b49-436c-ab6c-47dd1a34d4b7
[Java CI with Maven/build]   💬  ::debug::Caching tool Java_Adopt_jdk 15.0.2-7 x64
[Java CI with Maven/build]   💬  ::debug::source dir: /tmp/490632cf-4363-4cd6-8f8b-661163fdb1bc/jdk-15.0.2+7
[Java CI with Maven/build]   💬  ::debug::destination /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64
[Java CI with Maven/build]   💬  ::debug::finished caching tool
[Java CI with Maven/build]   | Java 15.0.2+7 was downloaded
[Java CI with Maven/build]   | Setting Java 15.0.2+7 as the default
[Java CI with Maven/build]   ⚙  ::add-path:: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64/bin
[Java CI with Maven/build]   ⚙  ::set-output:: distribution=Adopt
[Java CI with Maven/build]   ⚙  ::set-output:: path=/opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64
[Java CI with Maven/build]   ⚙  ::set-output:: version=15.0.2+7
[Java CI with Maven/build]   | 
[Java CI with Maven/build]   | Java configuration:
[Java CI with Maven/build]   |   Distribution: adopt
[Java CI with Maven/build]   |   Version: 15.0.2+7
[Java CI with Maven/build]   |   Path: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64
[Java CI with Maven/build]   | 
[Java CI with Maven/build]   ❓  ##[add-matcher]/actions/actions-setup-java@v2/.github/java.json
[Java CI with Maven/build]   | Creating settings.xml with server-id: github
[Java CI with Maven/build]   | Writing to /Users/dpilato/Documents/Elasticsearch/dev/tests/home/.m2/settings.xml
[Java CI with Maven/build]   ✅  Success - Set up JDK 15
[Java CI with Maven/build] ⭐  Run Copy the resources using maven
[Java CI with Maven/build]   ✅  Success - Copy the resources using maven
[Java CI with Maven/build] ⭐  Run List the files in the target dir. We should have 2 files. foo.txt and 中文名称.txt
[Java CI with Maven/build]   | total 4
[Java CI with Maven/build]   | -rw-r--r-- 1 root root 8 Apr 26 16:27 foo.txt
[Java CI with Maven/build]   ❌  Failure - List the files in the target dir. We should have 2 files. foo.txt and 中文名称.txt
Log from Github
2021-04-26T16:31:34.5133827Z ##[section]Starting: Request a runner to run this job
2021-04-26T16:31:34.7980394Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2021-04-26T16:31:34.7980507Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2021-04-26T16:31:34.7980915Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2021-04-26T16:31:35.0027820Z ##[section]Finishing: Request a runner to run this job
2021-04-26T16:31:42.2244332Z Current runner version: '2.278.0'
2021-04-26T16:31:42.2282394Z ##[group]Operating System
2021-04-26T16:31:42.2283805Z Ubuntu
2021-04-26T16:31:42.2284464Z 20.04.2
2021-04-26T16:31:42.2284851Z LTS
2021-04-26T16:31:42.2285380Z ##[endgroup]
2021-04-26T16:31:42.2285933Z ##[group]Virtual Environment
2021-04-26T16:31:42.2286543Z Environment: ubuntu-20.04
2021-04-26T16:31:42.2287117Z Version: 20210419.1
2021-04-26T16:31:42.2288857Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210419.1/images/linux/Ubuntu2004-README.md
2021-04-26T16:31:42.2290982Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210419.1
2021-04-26T16:31:42.2291989Z ##[endgroup]
2021-04-26T16:31:42.2294086Z ##[group]GITHUB_TOKEN Permissions
2021-04-26T16:31:42.2295424Z Actions: write
2021-04-26T16:31:42.2296133Z Checks: write
2021-04-26T16:31:42.2296675Z Contents: write
2021-04-26T16:31:42.2297432Z Deployments: write
2021-04-26T16:31:42.2298473Z Issues: write
2021-04-26T16:31:42.2299046Z Metadata: read
2021-04-26T16:31:42.2299532Z Packages: write
2021-04-26T16:31:42.2300284Z PullRequests: write
2021-04-26T16:31:42.2300893Z RepositoryProjects: write
2021-04-26T16:31:42.2301567Z SecurityEvents: write
2021-04-26T16:31:42.2302104Z Statuses: write
2021-04-26T16:31:42.2302985Z ##[endgroup]
2021-04-26T16:31:42.2307362Z Prepare workflow directory
2021-04-26T16:31:42.3061427Z Prepare all required actions
2021-04-26T16:31:42.3074145Z Getting action download info
2021-04-26T16:31:42.6881108Z Download action repository 'actions/checkout@v2'
2021-04-26T16:31:44.6980326Z Download action repository 'actions/setup-java@v2'
2021-04-26T16:31:45.1341359Z ##[group]Run actions/checkout@v2
2021-04-26T16:31:45.1342638Z with:
2021-04-26T16:31:45.1343387Z   repository: dadoonet/github-actions-maven
2021-04-26T16:31:45.1345073Z   token: ***
2021-04-26T16:31:45.1345676Z   ssh-strict: true
2021-04-26T16:31:45.1346326Z   persist-credentials: true
2021-04-26T16:31:45.1347040Z   clean: true
2021-04-26T16:31:45.1347691Z   fetch-depth: 1
2021-04-26T16:31:45.1348217Z   lfs: false
2021-04-26T16:31:45.1349605Z   submodules: false
2021-04-26T16:31:45.1350299Z ##[endgroup]
2021-04-26T16:31:45.3899174Z Syncing repository: dadoonet/github-actions-maven
2021-04-26T16:31:45.3900302Z ##[group]Getting Git version info
2021-04-26T16:31:45.3901577Z Working directory is '/home/runner/work/github-actions-maven/github-actions-maven'
2021-04-26T16:31:45.3902624Z [command]/usr/bin/git version
2021-04-26T16:31:45.4120847Z git version 2.31.1
2021-04-26T16:31:45.4122759Z ##[endgroup]
2021-04-26T16:31:45.4124336Z Deleting the contents of '/home/runner/work/github-actions-maven/github-actions-maven'
2021-04-26T16:31:45.4127260Z ##[group]Initializing the repository
2021-04-26T16:31:45.4130351Z [command]/usr/bin/git init /home/runner/work/github-actions-maven/github-actions-maven
2021-04-26T16:31:45.4226892Z hint: Using 'master' as the name for the initial branch. This default branch name
2021-04-26T16:31:45.4229124Z hint: is subject to change. To configure the initial branch name to use in all
2021-04-26T16:31:45.4230591Z hint: of your new repositories, which will suppress this warning, call:
2021-04-26T16:31:45.4231578Z hint: 
2021-04-26T16:31:45.4232939Z hint: 	git config --global init.defaultBranch <name>
2021-04-26T16:31:45.4233975Z hint: 
2021-04-26T16:31:45.4235194Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2021-04-26T16:31:45.4236776Z hint: 'development'. The just-created branch can be renamed via this command:
2021-04-26T16:31:45.4237834Z hint: 
2021-04-26T16:31:45.4238827Z hint: 	git branch -m <name>
2021-04-26T16:31:45.4247939Z Initialized empty Git repository in /home/runner/work/github-actions-maven/github-actions-maven/.git/
2021-04-26T16:31:45.4260823Z [command]/usr/bin/git remote add origin https://github.com/dadoonet/github-actions-maven
2021-04-26T16:31:45.4298969Z ##[endgroup]
2021-04-26T16:31:45.4300249Z ##[group]Disabling automatic garbage collection
2021-04-26T16:31:45.4304979Z [command]/usr/bin/git config --local gc.auto 0
2021-04-26T16:31:45.4351878Z ##[endgroup]
2021-04-26T16:31:45.4358618Z ##[group]Setting up auth
2021-04-26T16:31:45.4368184Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-04-26T16:31:45.4417976Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-04-26T16:31:45.4857485Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-04-26T16:31:45.4928711Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-04-26T16:31:45.7779094Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2021-04-26T16:31:45.7780986Z ##[endgroup]
2021-04-26T16:31:45.7781821Z ##[group]Fetching the repository
2021-04-26T16:31:45.7784194Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +9fa5653640cb038d2227588e98ad6a60b43e9c00:refs/remotes/origin/main
2021-04-26T16:31:45.7785953Z remote: Enumerating objects: 15, done.        
2021-04-26T16:31:45.7786881Z remote: Counting objects:   6% (1/15)        
2021-04-26T16:31:45.7788195Z remote: Counting objects:  13% (2/15)        
2021-04-26T16:31:45.7789373Z remote: Counting objects:  20% (3/15)        
2021-04-26T16:31:45.7790625Z remote: Counting objects:  26% (4/15)        
2021-04-26T16:31:45.7791621Z remote: Counting objects:  33% (5/15)        
2021-04-26T16:31:45.7793890Z remote: Counting objects:  40% (6/15)        
2021-04-26T16:31:45.7794743Z remote: Counting objects:  46% (7/15)        
2021-04-26T16:31:45.7795624Z remote: Counting objects:  53% (8/15)        
2021-04-26T16:31:45.7796556Z remote: Counting objects:  60% (9/15)        
2021-04-26T16:31:45.7797428Z remote: Counting objects:  66% (10/15)        
2021-04-26T16:31:45.7798289Z remote: Counting objects:  73% (11/15)        
2021-04-26T16:31:45.7799105Z remote: Counting objects:  80% (12/15)        
2021-04-26T16:31:45.7799967Z remote: Counting objects:  86% (13/15)        
2021-04-26T16:31:45.7800854Z remote: Counting objects:  93% (14/15)        
2021-04-26T16:31:45.7801678Z remote: Counting objects: 100% (15/15)        
2021-04-26T16:31:45.7802559Z remote: Counting objects: 100% (15/15), done.        
2021-04-26T16:31:45.7803430Z remote: Compressing objects:  14% (1/7)        
2021-04-26T16:31:45.7804383Z remote: Compressing objects:  28% (2/7)        
2021-04-26T16:31:45.7805341Z remote: Compressing objects:  42% (3/7)        
2021-04-26T16:31:45.7806210Z remote: Compressing objects:  57% (4/7)        
2021-04-26T16:31:45.7807169Z remote: Compressing objects:  71% (5/7)        
2021-04-26T16:31:45.7808303Z remote: Compressing objects:  85% (6/7)        
2021-04-26T16:31:45.7809225Z remote: Compressing objects: 100% (7/7)        
2021-04-26T16:31:45.7810375Z remote: Compressing objects: 100% (7/7), done.        
2021-04-26T16:31:45.7811707Z remote: Total 15 (delta 0), reused 13 (delta 0), pack-reused 0        
2021-04-26T16:31:45.7813528Z From https://github.com/dadoonet/github-actions-maven
2021-04-26T16:31:45.7814992Z  * [new ref]         9fa5653640cb038d2227588e98ad6a60b43e9c00 -> origin/main
2021-04-26T16:31:45.7816577Z ##[endgroup]
2021-04-26T16:31:45.7817515Z ##[group]Determining the checkout info
2021-04-26T16:31:45.7818337Z ##[endgroup]
2021-04-26T16:31:45.7819067Z ##[group]Checking out the ref
2021-04-26T16:31:45.7820399Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2021-04-26T16:31:45.7821997Z Switched to a new branch 'main'
2021-04-26T16:31:45.7823121Z Branch 'main' set up to track remote branch 'main' from 'origin'.
2021-04-26T16:31:45.7824026Z ##[endgroup]
2021-04-26T16:31:45.7825119Z [command]/usr/bin/git log -1 --format='%H'
2021-04-26T16:31:45.7826265Z '9fa5653640cb038d2227588e98ad6a60b43e9c00'
2021-04-26T16:31:45.8157080Z ##[group]Run ls -l src/main/resources
2021-04-26T16:31:45.8157991Z ls -l src/main/resources
2021-04-26T16:31:45.8158635Z files=$(ls src/main/resources | wc -l)
2021-04-26T16:31:45.8159284Z if [ "$files" -lt 2 ]; then exit $files; fi
2021-04-26T16:31:45.8214189Z shell: /usr/bin/bash -e {0}
2021-04-26T16:31:45.8214704Z ##[endgroup]
2021-04-26T16:31:45.8925401Z total 8
2021-04-26T16:31:45.8926980Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 foo.txt
2021-04-26T16:31:45.8928565Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 中文名称.txt
2021-04-26T16:31:45.9026365Z ##[group]Run actions/setup-java@v2
2021-04-26T16:31:45.9026991Z with:
2021-04-26T16:31:45.9027475Z   java-version: 15
2021-04-26T16:31:45.9028036Z   distribution: adopt
2021-04-26T16:31:45.9029052Z   java-package: jdk
2021-04-26T16:31:45.9029631Z   architecture: x64
2021-04-26T16:31:45.9030180Z   check-latest: false
2021-04-26T16:31:45.9030740Z   server-id: github
2021-04-26T16:31:45.9031396Z   server-username: GITHUB_ACTOR
2021-04-26T16:31:45.9032079Z   server-password: GITHUB_TOKEN
2021-04-26T16:31:45.9032768Z   overwrite-settings: true
2021-04-26T16:31:45.9033342Z ##[endgroup]
2021-04-26T16:31:46.7007113Z Trying to resolve the latest version from remote
2021-04-26T16:31:46.7008628Z Resolved latest version as 15.0.2+7
2021-04-26T16:31:46.7009748Z Trying to download...
2021-04-26T16:31:46.7011975Z Downloading Java 15.0.2+7 (Adopt) from https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%2B7/OpenJDK15U-jdk_x64_linux_hotspot_15.0.2_7.tar.gz ...
2021-04-26T16:31:48.8256238Z Extracting Java archive...
2021-04-26T16:31:48.8429669Z [command]/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/2b049785-8838-47da-9239-6e6fe26e900b -f /home/runner/work/_temp/2836c5e5-8533-4789-aac1-de4108273b9a
2021-04-26T16:31:52.6026349Z Java 15.0.2+7 was downloaded
2021-04-26T16:31:52.6028288Z Setting Java 15.0.2+7 as the default
2021-04-26T16:31:52.6092963Z 
2021-04-26T16:31:52.6093536Z Java configuration:
2021-04-26T16:31:52.6094004Z   Distribution: adopt
2021-04-26T16:31:52.6094403Z   Version: 15.0.2+7
2021-04-26T16:31:52.6095143Z   Path: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64
2021-04-26T16:31:52.6095540Z 
2021-04-26T16:31:52.6115234Z Creating settings.xml with server-id: github
2021-04-26T16:31:52.6209157Z Writing to /home/runner/.m2/settings.xml
2021-04-26T16:31:52.6546088Z ##[group]Run mvn --batch-mode resources:resources > /tmp/maven.log
2021-04-26T16:31:52.6547023Z mvn --batch-mode resources:resources > /tmp/maven.log
2021-04-26T16:31:52.6607644Z shell: /usr/bin/bash -e {0}
2021-04-26T16:31:52.6608295Z env:
2021-04-26T16:31:52.6608864Z   JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64
2021-04-26T16:31:52.6609426Z ##[endgroup]
2021-04-26T16:32:00.1460258Z ##[group]Run ls -l target/classes
2021-04-26T16:32:00.1460952Z ls -l target/classes
2021-04-26T16:32:00.1463514Z files=$(ls target/classes | wc -l)
2021-04-26T16:32:00.1464157Z if [ "$files" -lt 2 ]; then exit $files; fi
2021-04-26T16:32:00.1521388Z shell: /usr/bin/bash -e {0}
2021-04-26T16:32:00.1521939Z env:
2021-04-26T16:32:00.1522505Z   JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64
2021-04-26T16:32:00.1523097Z ##[endgroup]
2021-04-26T16:32:00.1615603Z total 8
2021-04-26T16:32:00.1616842Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 foo.txt
2021-04-26T16:32:00.1617681Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 中文名称.txt
2021-04-26T16:32:00.1714118Z Post job cleanup.
2021-04-26T16:32:00.2366834Z Post job cleanup.
2021-04-26T16:32:00.3714985Z [command]/usr/bin/git version
2021-04-26T16:32:00.3765716Z git version 2.31.1
2021-04-26T16:32:00.3802515Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-04-26T16:32:00.3840130Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-04-26T16:32:00.4087293Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-04-26T16:32:00.4108852Z http.https://github.com/.extraheader
2021-04-26T16:32:00.4120660Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2021-04-26T16:32:00.4155540Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-04-26T16:32:00.4488299Z Cleaning up orphan processes
Originally created by @dadoonet on GitHub (Apr 26, 2021). Original GitHub issue: https://github.com/nektos/act/issues/639 ## Act version ```none act version 0.2.21 ``` ## Expected behaviour I'm trying to copy some files using the [maven resources plugin](https://maven.apache.org/plugins/maven-resources-plugin/). I have 2 files: * `foo.txt` * `中文名称.txt` When I run `mvn resources:resources`, both files should be copied to `target/classes`. ## Actual behaviour When the filename is using non ascii characters, the file is totally ignored. So at the end I have only `foo.txt` in the `target/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=true ## Workflow and/or repository <details> <summary>workflow</summary> ```none name: Java CI with Maven on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: List the files in the target dir. We should have foo.txt and 中文名称.txt run: | ls -l src/main/resources files=$(ls src/main/resources | wc -l) if [ "$files" -lt 2 ]; then exit $files; fi - name: Set up JDK 15 uses: actions/setup-java@v2 with: java-version: '15' distribution: 'adopt' - name: Copy the resources using maven run: mvn --batch-mode resources:resources > /tmp/maven.log - name: List the files in the target dir. We should have 2 files. foo.txt and 中文名称.txt run: | ls -l target/classes files=$(ls target/classes | wc -l) if [ "$files" -lt 2 ]; then exit $files; fi ``` </details> ## Steps to reproduce ```sh git clone git@github.com:dadoonet/github-actions-maven.git cd github-actions-maven act ``` ## `act` output I'm first highlighting the main differences. When I run `ls -l` on the source dir, I see: With `act`: ```none | -rw-r--r-- 1 501 dialout 8 Apr 26 15:01 foo.txt | -rw-r--r-- 1 501 dialout 8 Apr 26 15:01 ''$'\344\270\255\346\226\207\345\220\215\347\247\260''.txt' ``` With Github actions: ```none 2021-04-26T16:31:45.8926980Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 foo.txt 2021-04-26T16:31:45.8928565Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 中文名称.txt ``` And the target dir... With `act`: ```none [Java CI with Maven/build] | -rw-r--r-- 1 root root 8 Apr 26 16:27 foo.txt ``` With Github actions: ```none 2021-04-26T16:32:00.1616842Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 foo.txt 2021-04-26T16:32:00.1617681Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 中文名称.txt ``` <details> <summary>Log</summary> ```none [Java CI with Maven/build] 🚀 Start image=nektos/act-environments-ubuntu:18.04 [Java CI with Maven/build] 🐳 docker run image=nektos/act-environments-ubuntu:18.04 platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Java CI with Maven/build] 🐳 docker cp src=/Users/dpilato/Documents/Elasticsearch/dev/tests/github-actions-maven/. dst=/Users/dpilato/Documents/Elasticsearch/dev/tests/github-actions-maven [Java CI with Maven/build] ⭐ Run actions/checkout@v2 [Java CI with Maven/build] ✅ Success - actions/checkout@v2 [Java CI with Maven/build] ⭐ Run List the files in the target dir. We should have foo.txt and 中文名称.txt | total 8 | -rw-r--r-- 1 501 dialout 8 Apr 26 15:01 foo.txt | -rw-r--r-- 1 501 dialout 8 Apr 26 15:01 ''$'\344\270\255\346\226\207\345\220\215\347\247\260''.txt' [Java CI with Maven/build] ✅ Success - List the files in the target dir. We should have foo.txt and 中文名称.txt [Java CI with Maven/build] ⭐ Run Set up JDK 15 [Java CI with Maven/build] ☁ git clone 'https://github.com/actions/setup-java' # ref=v2 [Java CI with Maven/build] 🐳 docker cp src=/Users/dpilato/.cache/act/actions-setup-java@v2 dst=/actions/ [Java CI with Maven/build] | Trying to resolve the latest version from remote [Java CI with Maven/build] | Resolved latest version as 15.0.2+7 [Java CI with Maven/build] | Trying to download... [Java CI with Maven/build] | Downloading Java 15.0.2+7 (Adopt) from https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%2B7/OpenJDK15U-jdk_x64_linux_hotspot_15.0.2_7.tar.gz ... [Java CI with Maven/build] 💬 ::debug::Downloading https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%252B7/OpenJDK15U-jdk_x64_linux_hotspot_15.0.2_7.tar.gz [Java CI with Maven/build] 💬 ::debug::Destination /tmp/ce561b96-5b49-436c-ab6c-47dd1a34d4b7 [Java CI with Maven/build] 💬 ::debug::download complete [Java CI with Maven/build] | Extracting Java archive... [Java CI with Maven/build] 💬 ::debug::Checking tar --version [Java CI with Maven/build] 💬 ::debug::tar (GNU tar) 1.29%0ACopyright (C) 2015 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.%0AThis is free software: you are free to change and redistribute it.%0AThere is NO WARRANTY, to the extent permitted by law.%0A%0AWritten by John Gilmore and Jay Fenlason. [Java CI with Maven/build] | [command]/bin/tar xz --warning=no-unknown-keyword -C /tmp/490632cf-4363-4cd6-8f8b-661163fdb1bc -f /tmp/ce561b96-5b49-436c-ab6c-47dd1a34d4b7 [Java CI with Maven/build] 💬 ::debug::Caching tool Java_Adopt_jdk 15.0.2-7 x64 [Java CI with Maven/build] 💬 ::debug::source dir: /tmp/490632cf-4363-4cd6-8f8b-661163fdb1bc/jdk-15.0.2+7 [Java CI with Maven/build] 💬 ::debug::destination /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64 [Java CI with Maven/build] 💬 ::debug::finished caching tool [Java CI with Maven/build] | Java 15.0.2+7 was downloaded [Java CI with Maven/build] | Setting Java 15.0.2+7 as the default [Java CI with Maven/build] ⚙ ::add-path:: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64/bin [Java CI with Maven/build] ⚙ ::set-output:: distribution=Adopt [Java CI with Maven/build] ⚙ ::set-output:: path=/opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64 [Java CI with Maven/build] ⚙ ::set-output:: version=15.0.2+7 [Java CI with Maven/build] | [Java CI with Maven/build] | Java configuration: [Java CI with Maven/build] | Distribution: adopt [Java CI with Maven/build] | Version: 15.0.2+7 [Java CI with Maven/build] | Path: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64 [Java CI with Maven/build] | [Java CI with Maven/build] ❓ ##[add-matcher]/actions/actions-setup-java@v2/.github/java.json [Java CI with Maven/build] | Creating settings.xml with server-id: github [Java CI with Maven/build] | Writing to /Users/dpilato/Documents/Elasticsearch/dev/tests/home/.m2/settings.xml [Java CI with Maven/build] ✅ Success - Set up JDK 15 [Java CI with Maven/build] ⭐ Run Copy the resources using maven [Java CI with Maven/build] ✅ Success - Copy the resources using maven [Java CI with Maven/build] ⭐ Run List the files in the target dir. We should have 2 files. foo.txt and 中文名称.txt [Java CI with Maven/build] | total 4 [Java CI with Maven/build] | -rw-r--r-- 1 root root 8 Apr 26 16:27 foo.txt [Java CI with Maven/build] ❌ Failure - List the files in the target dir. We should have 2 files. foo.txt and 中文名称.txt ``` </details> <details> <summary>Log from Github</summary> ```none 2021-04-26T16:31:34.5133827Z ##[section]Starting: Request a runner to run this job 2021-04-26T16:31:34.7980394Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest' 2021-04-26T16:31:34.7980507Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest' 2021-04-26T16:31:34.7980915Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest' 2021-04-26T16:31:35.0027820Z ##[section]Finishing: Request a runner to run this job 2021-04-26T16:31:42.2244332Z Current runner version: '2.278.0' 2021-04-26T16:31:42.2282394Z ##[group]Operating System 2021-04-26T16:31:42.2283805Z Ubuntu 2021-04-26T16:31:42.2284464Z 20.04.2 2021-04-26T16:31:42.2284851Z LTS 2021-04-26T16:31:42.2285380Z ##[endgroup] 2021-04-26T16:31:42.2285933Z ##[group]Virtual Environment 2021-04-26T16:31:42.2286543Z Environment: ubuntu-20.04 2021-04-26T16:31:42.2287117Z Version: 20210419.1 2021-04-26T16:31:42.2288857Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20210419.1/images/linux/Ubuntu2004-README.md 2021-04-26T16:31:42.2290982Z Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20210419.1 2021-04-26T16:31:42.2291989Z ##[endgroup] 2021-04-26T16:31:42.2294086Z ##[group]GITHUB_TOKEN Permissions 2021-04-26T16:31:42.2295424Z Actions: write 2021-04-26T16:31:42.2296133Z Checks: write 2021-04-26T16:31:42.2296675Z Contents: write 2021-04-26T16:31:42.2297432Z Deployments: write 2021-04-26T16:31:42.2298473Z Issues: write 2021-04-26T16:31:42.2299046Z Metadata: read 2021-04-26T16:31:42.2299532Z Packages: write 2021-04-26T16:31:42.2300284Z PullRequests: write 2021-04-26T16:31:42.2300893Z RepositoryProjects: write 2021-04-26T16:31:42.2301567Z SecurityEvents: write 2021-04-26T16:31:42.2302104Z Statuses: write 2021-04-26T16:31:42.2302985Z ##[endgroup] 2021-04-26T16:31:42.2307362Z Prepare workflow directory 2021-04-26T16:31:42.3061427Z Prepare all required actions 2021-04-26T16:31:42.3074145Z Getting action download info 2021-04-26T16:31:42.6881108Z Download action repository 'actions/checkout@v2' 2021-04-26T16:31:44.6980326Z Download action repository 'actions/setup-java@v2' 2021-04-26T16:31:45.1341359Z ##[group]Run actions/checkout@v2 2021-04-26T16:31:45.1342638Z with: 2021-04-26T16:31:45.1343387Z repository: dadoonet/github-actions-maven 2021-04-26T16:31:45.1345073Z token: *** 2021-04-26T16:31:45.1345676Z ssh-strict: true 2021-04-26T16:31:45.1346326Z persist-credentials: true 2021-04-26T16:31:45.1347040Z clean: true 2021-04-26T16:31:45.1347691Z fetch-depth: 1 2021-04-26T16:31:45.1348217Z lfs: false 2021-04-26T16:31:45.1349605Z submodules: false 2021-04-26T16:31:45.1350299Z ##[endgroup] 2021-04-26T16:31:45.3899174Z Syncing repository: dadoonet/github-actions-maven 2021-04-26T16:31:45.3900302Z ##[group]Getting Git version info 2021-04-26T16:31:45.3901577Z Working directory is '/home/runner/work/github-actions-maven/github-actions-maven' 2021-04-26T16:31:45.3902624Z [command]/usr/bin/git version 2021-04-26T16:31:45.4120847Z git version 2.31.1 2021-04-26T16:31:45.4122759Z ##[endgroup] 2021-04-26T16:31:45.4124336Z Deleting the contents of '/home/runner/work/github-actions-maven/github-actions-maven' 2021-04-26T16:31:45.4127260Z ##[group]Initializing the repository 2021-04-26T16:31:45.4130351Z [command]/usr/bin/git init /home/runner/work/github-actions-maven/github-actions-maven 2021-04-26T16:31:45.4226892Z hint: Using 'master' as the name for the initial branch. This default branch name 2021-04-26T16:31:45.4229124Z hint: is subject to change. To configure the initial branch name to use in all 2021-04-26T16:31:45.4230591Z hint: of your new repositories, which will suppress this warning, call: 2021-04-26T16:31:45.4231578Z hint: 2021-04-26T16:31:45.4232939Z hint: git config --global init.defaultBranch <name> 2021-04-26T16:31:45.4233975Z hint: 2021-04-26T16:31:45.4235194Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2021-04-26T16:31:45.4236776Z hint: 'development'. The just-created branch can be renamed via this command: 2021-04-26T16:31:45.4237834Z hint: 2021-04-26T16:31:45.4238827Z hint: git branch -m <name> 2021-04-26T16:31:45.4247939Z Initialized empty Git repository in /home/runner/work/github-actions-maven/github-actions-maven/.git/ 2021-04-26T16:31:45.4260823Z [command]/usr/bin/git remote add origin https://github.com/dadoonet/github-actions-maven 2021-04-26T16:31:45.4298969Z ##[endgroup] 2021-04-26T16:31:45.4300249Z ##[group]Disabling automatic garbage collection 2021-04-26T16:31:45.4304979Z [command]/usr/bin/git config --local gc.auto 0 2021-04-26T16:31:45.4351878Z ##[endgroup] 2021-04-26T16:31:45.4358618Z ##[group]Setting up auth 2021-04-26T16:31:45.4368184Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2021-04-26T16:31:45.4417976Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2021-04-26T16:31:45.4857485Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2021-04-26T16:31:45.4928711Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : 2021-04-26T16:31:45.7779094Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic *** 2021-04-26T16:31:45.7780986Z ##[endgroup] 2021-04-26T16:31:45.7781821Z ##[group]Fetching the repository 2021-04-26T16:31:45.7784194Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +9fa5653640cb038d2227588e98ad6a60b43e9c00:refs/remotes/origin/main 2021-04-26T16:31:45.7785953Z remote: Enumerating objects: 15, done. 2021-04-26T16:31:45.7786881Z remote: Counting objects: 6% (1/15) 2021-04-26T16:31:45.7788195Z remote: Counting objects: 13% (2/15) 2021-04-26T16:31:45.7789373Z remote: Counting objects: 20% (3/15) 2021-04-26T16:31:45.7790625Z remote: Counting objects: 26% (4/15) 2021-04-26T16:31:45.7791621Z remote: Counting objects: 33% (5/15) 2021-04-26T16:31:45.7793890Z remote: Counting objects: 40% (6/15) 2021-04-26T16:31:45.7794743Z remote: Counting objects: 46% (7/15) 2021-04-26T16:31:45.7795624Z remote: Counting objects: 53% (8/15) 2021-04-26T16:31:45.7796556Z remote: Counting objects: 60% (9/15) 2021-04-26T16:31:45.7797428Z remote: Counting objects: 66% (10/15) 2021-04-26T16:31:45.7798289Z remote: Counting objects: 73% (11/15) 2021-04-26T16:31:45.7799105Z remote: Counting objects: 80% (12/15) 2021-04-26T16:31:45.7799967Z remote: Counting objects: 86% (13/15) 2021-04-26T16:31:45.7800854Z remote: Counting objects: 93% (14/15) 2021-04-26T16:31:45.7801678Z remote: Counting objects: 100% (15/15) 2021-04-26T16:31:45.7802559Z remote: Counting objects: 100% (15/15), done. 2021-04-26T16:31:45.7803430Z remote: Compressing objects: 14% (1/7) 2021-04-26T16:31:45.7804383Z remote: Compressing objects: 28% (2/7) 2021-04-26T16:31:45.7805341Z remote: Compressing objects: 42% (3/7) 2021-04-26T16:31:45.7806210Z remote: Compressing objects: 57% (4/7) 2021-04-26T16:31:45.7807169Z remote: Compressing objects: 71% (5/7) 2021-04-26T16:31:45.7808303Z remote: Compressing objects: 85% (6/7) 2021-04-26T16:31:45.7809225Z remote: Compressing objects: 100% (7/7) 2021-04-26T16:31:45.7810375Z remote: Compressing objects: 100% (7/7), done. 2021-04-26T16:31:45.7811707Z remote: Total 15 (delta 0), reused 13 (delta 0), pack-reused 0 2021-04-26T16:31:45.7813528Z From https://github.com/dadoonet/github-actions-maven 2021-04-26T16:31:45.7814992Z * [new ref] 9fa5653640cb038d2227588e98ad6a60b43e9c00 -> origin/main 2021-04-26T16:31:45.7816577Z ##[endgroup] 2021-04-26T16:31:45.7817515Z ##[group]Determining the checkout info 2021-04-26T16:31:45.7818337Z ##[endgroup] 2021-04-26T16:31:45.7819067Z ##[group]Checking out the ref 2021-04-26T16:31:45.7820399Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main 2021-04-26T16:31:45.7821997Z Switched to a new branch 'main' 2021-04-26T16:31:45.7823121Z Branch 'main' set up to track remote branch 'main' from 'origin'. 2021-04-26T16:31:45.7824026Z ##[endgroup] 2021-04-26T16:31:45.7825119Z [command]/usr/bin/git log -1 --format='%H' 2021-04-26T16:31:45.7826265Z '9fa5653640cb038d2227588e98ad6a60b43e9c00' 2021-04-26T16:31:45.8157080Z ##[group]Run ls -l src/main/resources 2021-04-26T16:31:45.8157991Z ls -l src/main/resources 2021-04-26T16:31:45.8158635Z files=$(ls src/main/resources | wc -l) 2021-04-26T16:31:45.8159284Z if [ "$files" -lt 2 ]; then exit $files; fi 2021-04-26T16:31:45.8214189Z shell: /usr/bin/bash -e {0} 2021-04-26T16:31:45.8214704Z ##[endgroup] 2021-04-26T16:31:45.8925401Z total 8 2021-04-26T16:31:45.8926980Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 foo.txt 2021-04-26T16:31:45.8928565Z -rw-r--r-- 1 runner docker 8 Apr 26 16:31 中文名称.txt 2021-04-26T16:31:45.9026365Z ##[group]Run actions/setup-java@v2 2021-04-26T16:31:45.9026991Z with: 2021-04-26T16:31:45.9027475Z java-version: 15 2021-04-26T16:31:45.9028036Z distribution: adopt 2021-04-26T16:31:45.9029052Z java-package: jdk 2021-04-26T16:31:45.9029631Z architecture: x64 2021-04-26T16:31:45.9030180Z check-latest: false 2021-04-26T16:31:45.9030740Z server-id: github 2021-04-26T16:31:45.9031396Z server-username: GITHUB_ACTOR 2021-04-26T16:31:45.9032079Z server-password: GITHUB_TOKEN 2021-04-26T16:31:45.9032768Z overwrite-settings: true 2021-04-26T16:31:45.9033342Z ##[endgroup] 2021-04-26T16:31:46.7007113Z Trying to resolve the latest version from remote 2021-04-26T16:31:46.7008628Z Resolved latest version as 15.0.2+7 2021-04-26T16:31:46.7009748Z Trying to download... 2021-04-26T16:31:46.7011975Z Downloading Java 15.0.2+7 (Adopt) from https://github.com/AdoptOpenJDK/openjdk15-binaries/releases/download/jdk-15.0.2%2B7/OpenJDK15U-jdk_x64_linux_hotspot_15.0.2_7.tar.gz ... 2021-04-26T16:31:48.8256238Z Extracting Java archive... 2021-04-26T16:31:48.8429669Z [command]/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/2b049785-8838-47da-9239-6e6fe26e900b -f /home/runner/work/_temp/2836c5e5-8533-4789-aac1-de4108273b9a 2021-04-26T16:31:52.6026349Z Java 15.0.2+7 was downloaded 2021-04-26T16:31:52.6028288Z Setting Java 15.0.2+7 as the default 2021-04-26T16:31:52.6092963Z 2021-04-26T16:31:52.6093536Z Java configuration: 2021-04-26T16:31:52.6094004Z Distribution: adopt 2021-04-26T16:31:52.6094403Z Version: 15.0.2+7 2021-04-26T16:31:52.6095143Z Path: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64 2021-04-26T16:31:52.6095540Z 2021-04-26T16:31:52.6115234Z Creating settings.xml with server-id: github 2021-04-26T16:31:52.6209157Z Writing to /home/runner/.m2/settings.xml 2021-04-26T16:31:52.6546088Z ##[group]Run mvn --batch-mode resources:resources > /tmp/maven.log 2021-04-26T16:31:52.6547023Z mvn --batch-mode resources:resources > /tmp/maven.log 2021-04-26T16:31:52.6607644Z shell: /usr/bin/bash -e {0} 2021-04-26T16:31:52.6608295Z env: 2021-04-26T16:31:52.6608864Z JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64 2021-04-26T16:31:52.6609426Z ##[endgroup] 2021-04-26T16:32:00.1460258Z ##[group]Run ls -l target/classes 2021-04-26T16:32:00.1460952Z ls -l target/classes 2021-04-26T16:32:00.1463514Z files=$(ls target/classes | wc -l) 2021-04-26T16:32:00.1464157Z if [ "$files" -lt 2 ]; then exit $files; fi 2021-04-26T16:32:00.1521388Z shell: /usr/bin/bash -e {0} 2021-04-26T16:32:00.1521939Z env: 2021-04-26T16:32:00.1522505Z JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/15.0.2-7/x64 2021-04-26T16:32:00.1523097Z ##[endgroup] 2021-04-26T16:32:00.1615603Z total 8 2021-04-26T16:32:00.1616842Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 foo.txt 2021-04-26T16:32:00.1617681Z -rw-r--r-- 1 runner docker 8 Apr 26 16:32 中文名称.txt 2021-04-26T16:32:00.1714118Z Post job cleanup. 2021-04-26T16:32:00.2366834Z Post job cleanup. 2021-04-26T16:32:00.3714985Z [command]/usr/bin/git version 2021-04-26T16:32:00.3765716Z git version 2.31.1 2021-04-26T16:32:00.3802515Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand 2021-04-26T16:32:00.3840130Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || : 2021-04-26T16:32:00.4087293Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader 2021-04-26T16:32:00.4108852Z http.https://github.com/.extraheader 2021-04-26T16:32:00.4120660Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2021-04-26T16:32:00.4155540Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || : 2021-04-26T16:32:00.4488299Z Cleaning up orphan processes ``` </details>
Author
Owner

@github-actions[bot] commented on GitHub (May 27, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:849202367 --> @github-actions[bot] commented on GitHub (May 27, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@dadoonet commented on GitHub (May 27, 2021):

A friendly ping to keep it opened. 😉

<!-- gh-comment-id:849322450 --> @dadoonet commented on GitHub (May 27, 2021): A friendly ping to keep it opened. 😉
Author
Owner

@github-actions[bot] commented on GitHub (Jun 27, 2021):

Issue is stale and will be closed in 14 days unless there is new activity

<!-- gh-comment-id:869080055 --> @github-actions[bot] commented on GitHub (Jun 27, 2021): Issue is stale and will be closed in 14 days unless there is new activity
Author
Owner

@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:

act push --env LANG=C.UTF-8

UTF-8 is the default for GitHub Actions and I believe this should be the case for act as well.

<!-- gh-comment-id:1321209923 --> @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: ``` act push --env LANG=C.UTF-8 ``` UTF-8 is the default for GitHub Actions and I believe this should be the case for act as well.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#417
No description provided.