From dc8ecd3e3d38d1e60a599555afefbcecd934389f Mon Sep 17 00:00:00 2001 From: Douglas Gubert Date: Mon, 8 Dec 2025 16:37:49 -0300 Subject: [PATCH] fix: stop excluding .deno-cache from the docker image (#37722) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- .changeset/large-jobs-smell.md | 5 +++++ .github/workflows/ci.yml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/large-jobs-smell.md diff --git a/.changeset/large-jobs-smell.md b/.changeset/large-jobs-smell.md new file mode 100644 index 00000000000..a0433884474 --- /dev/null +++ b/.changeset/large-jobs-smell.md @@ -0,0 +1,5 @@ +--- +'@rocket.chat/meteor': patch +--- + +Fixes an issue with the build that prevented Deno runtime to run on air-gapped environments diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ba94e46301..8a7642e97c2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: --exclude='.git' \ . - SOURCE_HASH=$(sha256sum /tmp/RocketChat-source.tar | awk '{ print $1 }')-v8 + SOURCE_HASH=$(sha256sum /tmp/RocketChat-source.tar | awk '{ print $1 }')-v9 # Uncomment the following line to include the run ID in the hash and disable caching between runs # SOURCE_HASH=$(sha256sum /tmp/RocketChat-source.tar | awk '{ print $1 }')-${{ github.run_id }} @@ -217,7 +217,7 @@ jobs: if: steps.packages-cache-build.outputs.cache-hit != 'true' run: | tar -czf /tmp/RocketChat-packages-build.tar.gz \ - $(git ls-files -oi --exclude-standard -- ':(exclude)node_modules/*' ':(exclude)**/node_modules/*' ':(exclude)**/.meteor/*' ':(exclude)**/.deno-cache/*' ':(exclude)**/.turbo/*' ':(exclude).turbo/*' ':(exclude)**/.yarn/*' ':(exclude).yarn/*' ':(exclude).git/*') + $(git ls-files -oi --exclude-standard -- ':(exclude)node_modules/*' ':(exclude)**/node_modules/*' ':(exclude)**/.meteor/*' ':(exclude)**/.turbo/*' ':(exclude).turbo/*' ':(exclude)**/.yarn/*' ':(exclude).yarn/*' ':(exclude).git/*') - name: Upload packages build artifact uses: actions/upload-artifact@v5