diff --git a/.gitea/workflows/upload-package.yaml b/.gitea/workflows/upload-package.yaml new file mode 100644 index 0000000..610218b --- /dev/null +++ b/.gitea/workflows/upload-package.yaml @@ -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" \ No newline at end of file