-
-
Notifications
You must be signed in to change notification settings - Fork 348
# Fix: Build and Deploy Workflow (#539) #658
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
Closed
dimension-drifter
wants to merge
1
commit into
AOSSIE-Org:master
from
dimension-drifter:fix/issue-539
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,3 +53,5 @@ app.*.map.json | |
| .vscode/ | ||
| appwrite | ||
| ios/Runner/GoogleService-Info.plist | ||
| aossie-org-resonate-8a5edab282632443.txt | ||
| .github/instructions | ||
|
Comment on lines
+56
to
+57
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Prefer a generalized ignore pattern (or add context) for the hash-like TXT file. 🤖 Prompt for AI Agents |
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
actions/upload-artifact@v4 actions/download-artifact@v4 nested paths directory structure💡 Result:
Short answer — how paths/structure work with actions/upload-artifact@v4 and actions/download-artifact@v4:
upload-artifact@v4
download-artifact@v4
Examples
References
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 2058
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 152
🏁 Script executed:
Repository: AOSSIE-Org/Resonate
Length of output: 2721
Deploy job will fail: missing checkout for pubspec.yaml and incorrect APK artifact path.
The
deploy_github_releasejob doesn't checkout the repository, causing thegrep pubspec.yamlstep to fail. Additionally, whenbuild_androiduploadsbuild/app/outputs/flutter-apk/app-release.apkas a single file,download-artifact@v4preserves the directory structure by default, placing the APK atbuild/app/outputs/flutter-apk/app-release.apkrelative to the download path—not at the root. TheAPK_PATH: app-release.apkenvironment variable must be updated to reflect this.deploy_github_release: name: Deploy to GitHub Release runs-on: ubuntu-latest needs: build_android permissions: contents: write env: - APK_PATH: app-release.apk + APK_PATH: build/app/outputs/flutter-apk/app-release.apk steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Download APK artifact uses: actions/download-artifact@v4 with: name: apk-release path: ./🤖 Prompt for AI Agents