Compare commits

...
2 Commits
Author SHA1 Message Date
lamtruong28 d81f4ba5a3 Test upload file to package
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
2026-08-15 11:49:28 +07:00
lamtruong28 c72b07c208 Test upload file to package 2026-08-15 11:48:52 +07:00
+4 -3
View File
@@ -7,12 +7,13 @@ jobs:
runs-on: android runs-on: android
steps: steps:
- name: "Create file" - name: "Create file"
run: echo "hello" > test.txt run: |
echo "hello" > test.txt
ls -la
- name: Upload Test Package - name: Upload Test Package
run: | run: |
curl \ curl \
--fail \ --fail \
--user "${{ github.actor }}:${{ secrets.GITEA_PACKAGE_TOKEN }}" \ --user "${{ github.actor }}:${{ secrets.PACKAGE_TOKEN }}" \
--upload-file test.txt \ --upload-file test.txt \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/test-package/${{ github.run_number }}/test.txt" "${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/test-package/${{ github.run_number }}/test.txt"