Deploy version 1.2.0

This commit is contained in:
Gitea Actions
2025-07-08 09:52:12 +00:00
parent b5a64bfa44
commit 25b381db2e
2 changed files with 12 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
name: "MinIO Cache"
description: "Save and restore caches via MinIO/S3."
description: "Save and restore caches"
author: "0xMax42"
branding:
icon: "archive"
@@ -12,15 +12,16 @@ inputs:
paths:
description: "List of paths to cache"
required: true
compression_level:
compression-level:
description: "Compression level for the cache. ZStd, eg. 0-6"
required: false
default: "3"
default: "0"
outputs:
cache-hit:
description: "Boolean indicating if an exact match was found for the cache key"
runs:
using: "composite"
steps:
- name: "Run Action"
shell: "bash"
run: |
./dist/run-amd64
using: "node20"
main: "dist/index.js"
post: "dist/index.js"

3
dist/index.js vendored
View File

@@ -26289,7 +26289,8 @@ async function downloadCache(options, owner, repo, key, destinationPath) {
const res = await fetch(url, {
method: "GET",
headers: {
"Authorization": `Bearer ${options.token}`
"Authorization": `Bearer ${options.token}`,
"Accept-Encoding": "identity"
}
});
if (res.status === 404) {