diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce385590..834ff578 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,9 +38,9 @@ jobs: - name: 重命名应用 run: | - for file in app/release/app-*.apk; do + for file in app/build/outputs/apk/release/app-*.apk; do if [[ $file =~ app-(.?*)release.apk ]]; then - new_file_name="app/release/mytv-android-${BASH_REMATCH[1]}${{ steps.version.outputs.version }}.apk" + new_file_name="app/build/outputs/apk/release/mytv-android-${BASH_REMATCH[1]}${{ steps.version.outputs.version }}.apk" mv "$file" "$new_file_name" fi done @@ -48,7 +48,7 @@ jobs: - name: Prepare artifacts run: | mkdir artifacts - cp app/release/*.apk artifacts/ + cp app/build/outputs/apk/release/*.apk artifacts/ - name: Upload Release uses: ncipollo/release-action@v1 diff --git a/.gitignore b/.gitignore index fab5d1d2..42a9a399 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,4 @@ .externalNativeBuild .cxx local.properties -key.properties +key.properties \ No newline at end of file diff --git a/.idea/appInsightsSettings.xml b/.idea/appInsightsSettings.xml index e77bdba4..371f2e29 100644 --- a/.idea/appInsightsSettings.xml +++ b/.idea/appInsightsSettings.xml @@ -1,7 +1,6 @@ -