-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from s1204IT/master
無駄な宣言を削除
- Loading branch information
Showing
1 changed file
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,8 +24,6 @@ jobs: | |
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
|
@@ -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 }}" | ||
|
@@ -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: 署名のエイリアス" | ||
|
@@ -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 | ||
|
@@ -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 | ||
|