Files
Test/.gitea/workflows/upload-package.yaml
T
lamtruong28 934d6724f9
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
Test upload file to package
2026-08-15 11:46:48 +07:00

18 lines
555 B
YAML

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"