From 43e9bb3e5d7e7fdd3db8ab689479378840b03d76 Mon Sep 17 00:00:00 2001 From: "wcoder.com" <350840291@qq.com> Date: Mon, 21 Oct 2024 13:37:42 +0800 Subject: [PATCH] Update ruby.yml --- .github/workflows/ruby.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 796890a..dc16928 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -12,11 +12,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: 2.7 bundler-cache: true + - name: checkout the repo + run: | + git config --global user.name "kingreatwill" + git config --global user.email "350840291@qq.com" + git checkout -b master origin/master - name: githubchart run: | gem install githubchart @@ -25,7 +30,6 @@ jobs: run: | git config --global user.name "kingreatwill" git config --global user.email "350840291@qq.com" - git checkout -b master origin/master git add . # "echo" returns true so the build succeeds, even if no changed files git commit -m 'Update generated files' || echo