Merge pull request #34 from ArabCoders/dev
Show no downloads only when there are no downloads
This commit is contained in:
commit
b5b833907a
5 changed files with 27 additions and 7 deletions
26
.github/workflows/delete-builds.yml
vendored
Normal file
26
.github/workflows/delete-builds.yml
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
name: delete builds
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
logLevel:
|
||||||
|
description: "Log level"
|
||||||
|
required: true
|
||||||
|
default: "warning"
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- info
|
||||||
|
- warning
|
||||||
|
- debug
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
delete-builds:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/delete-package-versions@v4
|
||||||
|
with:
|
||||||
|
package-name: "ytptube"
|
||||||
|
package-type: "container"
|
||||||
|
min-versions-to-keep: 20
|
||||||
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
|
|
@ -79,9 +79,3 @@ jobs:
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
cache-from: type=gha, scope=${{ github.workflow }}
|
cache-from: type=gha, scope=${{ github.workflow }}
|
||||||
cache-to: type=gha, scope=${{ github.workflow }}
|
cache-to: type=gha, scope=${{ github.workflow }}
|
||||||
|
|
||||||
- uses: actions/delete-package-versions@v4
|
|
||||||
with:
|
|
||||||
package-name: "ytptube"
|
|
||||||
package-type: "container"
|
|
||||||
min-versions-to-keep: 5
|
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content has-text-centered" v-if="!hasCompleted">
|
<div class="content has-text-centered" v-if="!hasItems">
|
||||||
<p v-if="config.isConnected">
|
<p v-if="config.isConnected">
|
||||||
<span class="icon-text">
|
<span class="icon-text">
|
||||||
<span class="icon has-text-success">
|
<span class="icon has-text-success">
|
||||||
|
|
|
||||||
BIN
sc_full.png
BIN
sc_full.png
Binary file not shown.
|
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 93 KiB |
BIN
sc_short.png
BIN
sc_short.png
Binary file not shown.
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 39 KiB |
Loading…
Reference in a new issue