From 42b17a499b6831668cc627f2a1dc062812f5e408 Mon Sep 17 00:00:00 2001 From: Sota SAITO Date: Thu, 9 Mar 2023 16:22:54 +0900 Subject: [PATCH] update RubyGems in Github Workflow --- .github/workflows/pull_request.yml | 3 ++- .github/workflows/release.yml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 95053d2..95bc30c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -18,4 +18,5 @@ jobs: with: ruby-version: ${{ matrix.ruby_version }} bundler-cache: true - - run: bundle exec rake \ No newline at end of file + - run: gem update --system + - run: bundle exec rake diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d067be..b1ca407 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,7 @@ jobs: - uses: ruby/setup-ruby@v1 with: bundler-cache: true + - run: gem update --system - run: bundle exec rake build - id: gem run: echo "result=$(find pkg -name 'deploygate-*.gem' -type f | head -1)" >> $GITHUB_OUTPUT