Files
Test/.gitea/workflows/upload-package.yaml
T

18 lines
549 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.PACKAGE_TOKEN }}" \
--upload-file test.txt \
"${{ github.server_url }}/api/packages/${{ github.repository_owner }}/generic/test-package/${{ github.run_number }}/test.txt"