File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -91,20 +91,17 @@ jobs:
9191 name : SmartTube_${{ steps.get_version.outputs.VERSION_NAME }}_arm64
9292 path : ./smarttubetv/build/outputs/apk/stbeta/debug/*_arm64-v8a.apk
9393 if-no-files-found : error
94- retention-days : 1
9594
9695 - name : Upload ARMv7 APK
9796 uses : actions/upload-artifact@v6
9897 with :
9998 name : SmartTube_${{ steps.get_version.outputs.VERSION_NAME }}_armeabi-v7a
10099 path : ./smarttubetv/build/outputs/apk/stbeta/debug/*_armeabi-v7a.apk
101100 if-no-files-found : error
102- retention-days : 1
103101
104102 - name : Upload x86 APK
105103 uses : actions/upload-artifact@v6
106104 with :
107105 name : SmartTube_${{ steps.get_version.outputs.VERSION_NAME }}_x86
108106 path : ./smarttubetv/build/outputs/apk/stbeta/debug/*_x86.apk
109107 if-no-files-found : error
110- retention-days : 1
Original file line number Diff line number Diff line change 1414 - uses : actions/github-script@v7
1515 with :
1616 script : |
17- const KEEP = 1 ;
18- const workflowNames = ["VirusTotal Scan", "Cleanup old workflow runs" ];
17+ const KEEP = 0 ;
18+ const workflowNames = ["VirusTotal Scan"];
1919
2020 // Get workflow ID
2121 const workflows = await github.rest.actions.listRepoWorkflows({
4949 });
5050 }
5151 }
52+ - name : Delete this cleanup run
53+ run : |
54+ curl -X DELETE \
55+ -H "Accept: application/vnd.github+json" \
56+ -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
57+ https://api.github.com/repos/${{ github.repository }}/actions/runs/${{ github.run_id }}
58+
5259
You can’t perform that action at this time.
0 commit comments