Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
bskim45 committed Sep 15, 2024
1 parent 90f6f11 commit d2b24d6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rubygems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ jobs:
bundler-cache: true

- name: Save service account key to the file
run: echo "${{ secrets.TEST_SERVICE_ACCOUNT_KEY }}" > drive_key.json
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
fs.writeFileSync('drive_key.json', process.env.KEY_JSON);
env:
KEY_JSON: ${{ secrets.TEST_SERVICE_ACCOUNT_KEY }}

- name: Run tests
run: bundle exec rake
Expand All @@ -39,7 +45,6 @@ jobs:
TEST_CHECK_EXISTENCE_FILE_TITLE: "${{ vars.TEST_CHECK_EXISTENCE_FILE_TITLE }}"
TEST_CHECK_EXISTENCE_FOLDER_TITLE: "${{ vars.TEST_CHECK_EXISTENCE_FOLDER_TITLE }}"


- uses: paambaati/codeclimate-action@v9.0.0
env:
CC_TEST_REPORTER_ID: "${{ secrets.CC_TEST_REPORTER_ID }}"

0 comments on commit d2b24d6

Please sign in to comment.