From bb875f07666c9203d1a1a1c41693d1c6a8b3bb71 Mon Sep 17 00:00:00 2001 From: Sheen <9674168+sheenhx@users.noreply.github.com> Date: Sun, 8 Sep 2024 08:47:07 +0200 Subject: [PATCH] fix: move to release --- .github/workflows/compile.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index d94f9a52..56854481 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -44,12 +44,17 @@ jobs: name: release-apk # Try running the build locally with the build command to be sure of this path path: build/app/outputs/flutter-apk/app-product-release.apk + + - name: Move APK to release directory + run: | + mkdir -p release # Create the release directory if it doesn't exist + mv build/app/outputs/flutter-apk/app-product-release.apk release/app-release.apk - uses: actions/checkout@v3 - uses: ncipollo/release-action@v1 with: - artifacts: "build/app/outputs/flutter-apk/app-product-release.apk" + artifacts: "`app-product-release.apk" token: ${{ secrets.DART_TOKEN }} tag: ${{ steps.generate.outputs.build-number }} prerelease: true