Horis 2 ani în urmă
părinte
comite
bf3999f060
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      .github/workflows/test.yml

+ 4 - 4
.github/workflows/test.yml

@@ -150,13 +150,13 @@ jobs:
 
 
       - name: Publish Pre-Release
       - name: Publish Pre-Release
         if: env.type == 'release'
         if: env.type == 'release'
-        uses: softprops/action-gh-release@v2
+        uses: ncipollo/release-action@v1
         with:
         with:
-          name: "Latest Beta Build"
-          tag_name: "beta"
+          name: legado_${{ env.product }}_${{ env.VERSION }}
+          tag: "beta"
           body: "此版本为测试版,可能存在不稳定情况,升级前请务必备份好数据。"
           body: "此版本为测试版,可能存在不稳定情况,升级前请务必备份好数据。"
           prerelease: true
           prerelease: true
-          files: ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk
+          artifacts: ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk
 
 
   lanzou:
   lanzou:
     needs: [ prepare, build ]
     needs: [ prepare, build ]