diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 6fd72fb60..68bd14e8b 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -57,6 +57,13 @@ jobs: shell: bash run: ./gradlew assembleDebug + - name: Prepare APKs + shell: bash + run: | + mkdir -p release-apks + find . -name "*.apk" -print -exec cp {} release-apks/ \; + ls -la release-apks/ + - name: Upload to Gitea Releases uses: ncipollo/release-action@v1 with: @@ -64,6 +71,7 @@ jobs: name: "Latest Build (main)" prerelease: true allowUpdates: true - artifacts: "build/outputs/apk/**/*.apk" + replacesArtifacts: true + artifacts: "release-apks/*.apk" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}