Skip to content

Commit

Permalink
Merge pull request #12 from s1204IT/master
Browse files Browse the repository at this point in the history
無駄な宣言を削除
  • Loading branch information
Chipppppppppp authored Jan 20, 2024
2 parents d35cf0f + 23caa5f commit 750f16a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java
uses: actions/setup-java@v4
Expand All @@ -51,6 +49,7 @@ jobs:
- name: Check tag exists
uses: mukunku/[email protected]
if: github.event.inputs.release == 'true'
id: check-tag
with:
tag: "${{ env.version }}"
Expand All @@ -59,7 +58,7 @@ jobs:
if: github.event.inputs.release == 'true'
run: |
if [[ "${{ secrets.STORE_FILE }}" == "" ]]; then
echo -e "\nERROR!\nリリースするには、 署名鍵を設定する必要があります。\n\n"
echo -e "\nERROR!\nリリースするには、 署名鍵を設定する必要があります。\n"
echo "STORE_FILE: JKS形式の署名鍵をBase64でエンコードした文字列"
echo "STORE_PASSWORD: キーストアのパスワード"
echo "KEY_ALIAS: 署名のエイリアス"
Expand All @@ -68,7 +67,7 @@ jobs:
exit 1
fi
if [[ "${{ steps.check-tag.outputs.exists }}" == "true" ]]; then
echo -e "\nERROR!\n既に同じタグが存在します。\n\n"
echo -e "\nERROR!\n既に同じタグが存在します。\n"
echo "build.gradle の versionName を変更してください"
echo ""
exit 1
Expand All @@ -89,7 +88,7 @@ jobs:
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: ${{ env.repo }}(v${{ env.version }}@${{ env.commit }})
name: ${{ env.repo }}(${{ env.version }}@${{ env.commit }})
path: app/build/outputs/apk/**/app-*.apk

- name: Release
Expand Down

0 comments on commit 750f16a

Please sign in to comment.