Files
Test/.gitea/workflows/upload-package.yaml
T
lamtruong28 d81f4ba5a3
Build and upload artifact apk / Verify environment (push) Successful in 5s
Sync Source to Host / sync-source (push) Successful in 5s
Build and upload artifact apk / upload (push) Successful in 6s
Build and upload artifact apk / Build APK file (push) Successful in 3m30s
Test upload file to package
2026-08-15 11:49:28 +07:00

19 lines
577 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
ls -la
- name: Upload Test Package
run: |
curl \
--fail \
--user "${{ github.actor }}:${{ secrets.PACKAGE_TOKEN }}" \
--upload-file test.txt \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/test-package/${{ github.run_number }}/test.txt"