Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
areteruhiro authored Mar 24, 2024
1 parent fe8c042 commit d84e21a
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,6 @@ jobs:
- name: Release check
if: github.event.inputs.release == 'true'
run: |
if [[ "${{ secrets.STORE_FILE }}" == "" ]]; then
echo -e "\nERROR!\nリリースするには、 署名鍵を設定する必要があります。\n"
echo "STORE_FILE: JKS形式の署名鍵をBase64でエンコードした文字列"
echo "STORE_PASSWORD: キーストアのパスワード"
echo "KEY_ALIAS: 署名のエイリアス"
echo "KEY_PASSWORD: 署名のパスワード"
echo ""
exit 1
fi
if [[ "${{ steps.check-tag.outputs.exists }}" == "true" ]]; then
echo -e "\nERROR!\n既に同じタグが存在します。\n"
echo "build.gradle の versionName を変更してください"
Expand All @@ -78,7 +69,7 @@ jobs:
- name: Build with Gradle
run: |
if [[ "${{ inputs.release }}" == "true" ]]; then
echo "${{ secrets.STORE_FILEA }}" | base64 -d > app/release.jks
echo "${{ secrets.STORE_FILE }}" | base64 -d > app/release.jks
export STORE_PASSWORD="${{ secrets.STORE_PASSWORD }}"
export KEY_ALIAS="${{ secrets.KEY_ALIAS }}"
export KEY_PASSWORD="${{ secrets.KEY_PASSWORD }}"
Expand Down

0 comments on commit d84e21a

Please sign in to comment.