1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-06 05:21:37 +09:00

競合を防ぐ為に release.yml を削除

This commit is contained in:
Syuugo 2024-01-20 11:57:57 +09:00 committed by GitHub
parent 405d0eb767
commit 39a3cac8e0

View File

@ -1,45 +0,0 @@
on:
workflow_dispatch:
branches-ignore:
- '**'
tags:
- 'v*'
create:
branches-ignore:
- '**'
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Gradle
run: |
if [[ -n "${{ secrets.KEYSTORE_BASE64 }}" ]]; then
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > release.keystore
export KEYSTORE_PASSWORD="${{ secrets.KEYSTORE_PASSWORD }}"
export KEY_ALIAS="${{ secrets.KEY_ALIAS }}"
export KEY_PASSWORD="${{ secrets.KEY_PASSWORD }}"
fi
./gradlew assembleRelease
- name: Get apk path
id: apk-path
run: |
path=$(find **/build/outputs/apk -name '*.apk' -type f | head -1)
echo "::set-output name=path::$path"
- name: Upload apk file
uses: actions/upload-artifact@v1
with:
name: apk
path: ${{ steps.apk-path.outputs.path }}
- name: Upload Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: ${{ steps.apk-path.outputs.path }}
token: ${{ secrets.GITHUB_TOKEN }}