Horis 2 лет назад
Родитель
Сommit
3004a9ba71
1 измененных файлов с 13 добавлено и 0 удалено
  1. 13 0
      .github/workflows/test.yml

+ 13 - 0
.github/workflows/test.yml

@@ -19,6 +19,10 @@ on:
       - completed
   workflow_dispatch:
 
+concurrency: 
+  group: "test"
+  cancel-in-progress: true
+
 jobs:
 
   prepare:
@@ -144,6 +148,15 @@ jobs:
           if-no-files-found: ignore
           path: ${{ github.workspace }}/mapping/mapping.txt
 
+      - name: Publish Pre-Release
+        uses: "marvinpinto/action-automatic-releases@latest"
+        with:
+          repo_token: "${{ secrets.GITHUB_TOKEN }}"
+          automatic_release_tag: "beta"
+          prerelease: true
+          title: "Latest Beta Build"
+          files: ${{ github.workspace }}/apk/*.apk
+
   lanzou:
     needs: [ prepare, build ]
     if: ${{ github.event_name != 'pull_request' && needs.prepare.outputs.lanzou == 'yes' }}