-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to find any release file matching #221
Comments
You need to point the action to your signed release apk/aab |
@boswelja Have you checked out my YAML? My steps are |
Did you try wrapping your |
i have the same problem |
I had the same issue and solved it by surrounding the path with quotes, it worked on the Ubuntu image, but not on Windows. |
Anyone found a solution? I can verify the file is there, but I get the same message. |
I also had problems uploading because the setup was incomplete. The privacy policy and data safety information were missing, but after adding them it worked. Go to the Developer Console, Dashboard, and check if you have set everything under “LET US KNOW ABOUT THE CONTENT OF YOUR APP”. |
I solved it by replacing "\" with "/" in the path to the *.aab file |
have the same issue here |
Try replacing \ with / |
still give me an error @CRoederTND |
@fadlurahmanfdev are you sure the file is there? |
sure @CRoederTND , I already check the directory using ls command & the file is there |
Hi there, I also have the same issue here. I am getting the apk from the path and saving in a variable. The variable is getting the .aab file without problem. but once we pass this variable to the action it fails.
Here is the job I am using to deploy the .aab to stores
Any solution / workaround? Previously I thought it was because I was running on Windows runner, but after changing to Ubuntu runner still having same error |
From the docs of actions/upload-artifact@v4, your signed apk/app bundle is uploaded as a zip file. When you use the actions/download-artifact@v4, the artifact is downloaded into a folder with the name you specified on the upload action (unless you specify otherwise). So you can use something like build_android:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: "17"
cache: 'gradle'
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.16.9"
channel: 'stable'
cache: true
- run: flutter pub get
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter build appbundle
- name: Upload App bundle to Releases
uses: actions/upload-artifact@v4
with:
name: app-release
path: build/app/outputs/bundle/release/app-release.aab
deploy_android:
name: Deploy Android Build
needs: build_android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Get Android Build from artifacts
uses: actions/download-artifact@v4
- name: Release Build to internal track
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.PLAYSTORE_ACCOUNT_KEY }}
packageName: com.xyz.app
releaseFiles: app-release/app-release.aab
track: internal
status: completed Some steps are not included for brevity |
On my gh action it was because of \ instead of /. Do also note that the upload action is using fast-glob to find the file. This is case sensitive. |
Describe the bug
I am trying to set up a GitHub Action workflow to publish my sample Android app to Play Store.
However, I faced error of
Unable to find any release file matching
Workflow Step Configuration
The workflow can be found here
https://github.com/tuyen-vuduc/chick-and-paddy-dotnet-maui/blob/main/.github/workflows/android.yml
Step Debugging
The text was updated successfully, but these errors were encountered: