From 411d9247beb24fa0194e614acc3af7bb825164fb Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 1 Sep 2021 00:32:37 +0200 Subject: [PATCH] GitHub Actions: Use the new way to toggle Bundler's deployment mode This silences the following warning message: [DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83de171..6bab37a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,8 @@ jobs: - name: Install dependencies run: | sudo apt-get install libcurl4-openssl-dev - bundle install --jobs=3 --retry=3 --deployment + bundle config set --local deployment 'true' + bundle install --jobs=3 --retry=3 - name: Run tests run: | bundle exec jekyll build