Fixed issues with Build files for Android and Linux
This commit is contained in:
@@ -89,9 +89,14 @@ jobs:
|
||||
- name: Name the apk after the release
|
||||
run: mv build/app/outputs/flutter-apk/app-release.apk ac_web-${{ github.ref_name }}.apk
|
||||
|
||||
# Artifacts of v4 need gitea 1.22 or newer, older instances need @v3.
|
||||
# @v3 on purpose: `upload-artifact@v4` bundles `@actions/artifact` v2,
|
||||
# which refuses to run as soon as `GITHUB_SERVER_URL` is not github.com
|
||||
# ("GHESNotSupportedError") -- and on this instance it is the gitea host.
|
||||
# The check happens in the action itself, before any request, so it
|
||||
# cannot be fixed on the gitea side. @v3 talks to the older artifact api
|
||||
# gitea implements and still runs on node20, which the act-runner allows.
|
||||
- name: Upload the apk
|
||||
uses: https://github.com/actions/upload-artifact@v4
|
||||
uses: https://github.com/actions/upload-artifact@v3
|
||||
with:
|
||||
name: ac_web-android-${{ github.ref_name }}
|
||||
# Artifact paths are relative to the repository, not to the
|
||||
|
||||
Reference in New Issue
Block a user