From e55cbbcf3c85ace75c7942be264074d10877bdd8 Mon Sep 17 00:00:00 2001 From: CnTeng Date: Wed, 22 Jan 2025 22:47:07 +0800 Subject: [PATCH] ci: test locale --- .github/workflows/update.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 8f40ae6..8cb9b98 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -54,15 +54,16 @@ jobs: - name: Update sources id: update-sources run: | - nix run nixpkgs#nvfetcher -- \ - --build-dir pkgs/_sources \ - --config pkgs/nvfetcher.toml \ - --changelog /tmp/changelog + locale -a + sudo locale-gen en_US.UTF-8 + pushd pkgs + nix run nixpkgs#nvfetcher -- --changelog /tmp/changelog { echo "changelog<>"$GITHUB_OUTPUT" + popd - name: Create PR uses: peter-evans/create-pull-request@v7