From 1e77cd55c978b738c7a907330dde4fc82fe3dc04 Mon Sep 17 00:00:00 2001 From: hackycy Date: Mon, 27 Jul 2020 14:54:33 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9Aupdate=20ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c67c6d5..63f33ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,4 +31,8 @@ jobs: with: path: build/app/outputs/apk/release/*.apk - run: | - curl -F "file=@build/app/outputs/apk/release/app-release.apk" -F "uKey=${{ secrets.PGY_USER_KEY }}" -F "_api_key=${{ secrets.PGY_API_KEY }}" https://upload.pgyer.com/apiv1/app/upload \ No newline at end of file + curl -F "file=@build/app/outputs/apk/release/app-release.apk" -F "uKey=${{ secrets.PGY_USER_KEY }}" -F "_api_key=${{ secrets.PGY_API_KEY }}" https://upload.pgyer.com/apiv1/app/upload + - uses: ncipollo/release-action@v1 + with: + artifacts: "build/app/outputs/apk/release/*.apk" + token: ${{ secrets.TOKEN }} \ No newline at end of file