Test upload file to package
Sync Source to Host / sync-source (push) Successful in 5s
Build and upload artifact apk / Verify environment (push) Successful in 4s
Build and upload artifact apk / upload (push) Failing after 3s
Build and upload artifact apk / Build APK file (push) Canceled after 3m22s
Sync Source to Host / sync-source (push) Successful in 5s
Build and upload artifact apk / Verify environment (push) Successful in 4s
Build and upload artifact apk / upload (push) Failing after 3s
Build and upload artifact apk / Build APK file (push) Canceled after 3m22s
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
name: Build and upload artifact apk
|
||||||
|
run-name: ${{ gitea.actor }} is testing build android
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
jobs:
|
||||||
|
upload:
|
||||||
|
runs-on: android
|
||||||
|
steps:
|
||||||
|
- name: "Create file"
|
||||||
|
run: echo "hello" > test.txt
|
||||||
|
|
||||||
|
- name: Upload Test Package
|
||||||
|
run: |
|
||||||
|
curl \
|
||||||
|
--fail \
|
||||||
|
--user "${{ github.actor }}:${{ secrets.GITEA_PACKAGE_TOKEN }}" \
|
||||||
|
--upload-file test.txt \
|
||||||
|
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/test-package/${{ github.run_number }}/test.txt"
|
||||||
Reference in New Issue
Block a user