Skip to content

Commit

Permalink
chore: remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kosenda committed Feb 25, 2024
1 parent d7e3e3a commit 9a08386
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,26 @@ inputs:
description: "API Key"
required: true


runs:
using: composite
steps:
# マスクする
- name: Mask API Key
shell: bash
run: |
echo "::add-mask::${{ inputs.apiKey }}"
# ローカルプロパティの設定
- name: Set local.properties
shell: bash
env:
API_KEY: ${{ inputs.API_KEY }}
run: echo "apiKey=${{env.API_KEY}}" >> ./local.properties

# JDKセットアップ
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
cache: gradle

# Gradleセットアップ
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# ワークフローの名前
name: Test

# ワークフローを実行するイベント定義
on:
# プッシュが行われた時に実行
push:
branches:
- main
Expand All @@ -12,31 +9,22 @@ on:
paths-ignore:
- README.md

# ジョブへの権限の割り当て
# ref: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
permissions:
# リポジトリの内容を操作
contents: read
# GitHub Actionsを使用
actions: read

jobs:
dependencies:
# ジョブを実行するマシンの種類を定義
# ref: https://docs.github.com/ja/actions/using-jobs/choosing-the-runner-for-a-job
runs-on: ubuntu-latest
steps:
# チェックアウト
- name: Checkout sources
uses: actions/checkout@v4

# セットアップ
- name: Setup
uses: ./.github/actions/setup
with:
api_key: ${{ secrets.API_KEY }}

# モックのコンパイル
- name: Compile MockDebug
run: |
./gradlew compileMockDebugSource
Expand Down

0 comments on commit 9a08386

Please sign in to comment.