From 39a3cac8e0d92259d767953118a99a20562797d1 Mon Sep 17 00:00:00 2001 From: Syuugo Date: Sat, 20 Jan 2024 11:57:57 +0900 Subject: [PATCH] =?UTF-8?q?=E7=AB=B6=E5=90=88=E3=82=92=E9=98=B2=E3=81=90?= =?UTF-8?q?=E7=82=BA=E3=81=AB=20release.yml=20=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 45 ----------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 19bc4716..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -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 }}