mirror of
https://github.com/BloopAI/setup-zig.git
synced 2026-10-20 17:38:24 +00:00
Compare commits
7
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9962fdf075 | ||
|
|
4f12c907f3 | ||
|
|
c13dfb00a4 | ||
|
|
7e1b9284f3 | ||
|
|
d866436887 | ||
|
|
e64d72b669 | ||
|
|
1c0785686c |
@@ -6,3 +6,9 @@ updates:
|
|||||||
interval: daily
|
interval: daily
|
||||||
time: "04:00"
|
time: "04:00"
|
||||||
open-pull-requests-limit: 10
|
open-pull-requests-limit: 10
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: daily
|
||||||
|
time: "04:00"
|
||||||
|
open-pull-requests-limit: 10
|
||||||
|
|||||||
@@ -11,11 +11,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- uses: EndBug/add-and-commit@v4
|
- uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
add: dist
|
add: dist
|
||||||
message: Rebuild (automated)
|
message: Rebuild (automated)
|
||||||
author_name: Automated
|
|
||||||
author_email: github@asdf.kooi.me
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: goto-bus-stop/setup-zig@v2
|
- uses: goto-bus-stop/setup-zig@v2
|
||||||
- run: zig fmt --check src/*.zig
|
- run: zig fmt --check .
|
||||||
```
|
```
|
||||||
|
|
||||||
Optionally set a Zig version:
|
Optionally set a Zig version:
|
||||||
|
|||||||
Vendored
+12
-16
@@ -26193,18 +26193,18 @@ var require_constants6 = __commonJS({
|
|||||||
(function(CacheFilename2) {
|
(function(CacheFilename2) {
|
||||||
CacheFilename2["Gzip"] = "cache.tgz";
|
CacheFilename2["Gzip"] = "cache.tgz";
|
||||||
CacheFilename2["Zstd"] = "cache.tzst";
|
CacheFilename2["Zstd"] = "cache.tzst";
|
||||||
})(CacheFilename = exports2.CacheFilename || (exports2.CacheFilename = {}));
|
})(CacheFilename || (exports2.CacheFilename = CacheFilename = {}));
|
||||||
var CompressionMethod;
|
var CompressionMethod;
|
||||||
(function(CompressionMethod2) {
|
(function(CompressionMethod2) {
|
||||||
CompressionMethod2["Gzip"] = "gzip";
|
CompressionMethod2["Gzip"] = "gzip";
|
||||||
CompressionMethod2["ZstdWithoutLong"] = "zstd-without-long";
|
CompressionMethod2["ZstdWithoutLong"] = "zstd-without-long";
|
||||||
CompressionMethod2["Zstd"] = "zstd";
|
CompressionMethod2["Zstd"] = "zstd";
|
||||||
})(CompressionMethod = exports2.CompressionMethod || (exports2.CompressionMethod = {}));
|
})(CompressionMethod || (exports2.CompressionMethod = CompressionMethod = {}));
|
||||||
var ArchiveToolType;
|
var ArchiveToolType;
|
||||||
(function(ArchiveToolType2) {
|
(function(ArchiveToolType2) {
|
||||||
ArchiveToolType2["GNU"] = "gnu";
|
ArchiveToolType2["GNU"] = "gnu";
|
||||||
ArchiveToolType2["BSD"] = "bsd";
|
ArchiveToolType2["BSD"] = "bsd";
|
||||||
})(ArchiveToolType = exports2.ArchiveToolType || (exports2.ArchiveToolType = {}));
|
})(ArchiveToolType || (exports2.ArchiveToolType = ArchiveToolType = {}));
|
||||||
exports2.DefaultRetryAttempts = 2;
|
exports2.DefaultRetryAttempts = 2;
|
||||||
exports2.DefaultRetryDelay = 5e3;
|
exports2.DefaultRetryDelay = 5e3;
|
||||||
exports2.SocketTimeout = 5e3;
|
exports2.SocketTimeout = 5e3;
|
||||||
@@ -26355,20 +26355,16 @@ var require_cacheUtils = __commonJS({
|
|||||||
implicitDescendants: false
|
implicitDescendants: false
|
||||||
});
|
});
|
||||||
try {
|
try {
|
||||||
for (var _e = true, _f = __asyncValues2(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; ) {
|
for (var _e = true, _f = __asyncValues2(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; _e = true) {
|
||||||
_c = _g.value;
|
_c = _g.value;
|
||||||
_e = false;
|
_e = false;
|
||||||
try {
|
const file = _c;
|
||||||
const file = _c;
|
const relativeFile = path2.relative(workspace, file).replace(new RegExp(`\\${path2.sep}`, "g"), "/");
|
||||||
const relativeFile = path2.relative(workspace, file).replace(new RegExp(`\\${path2.sep}`, "g"), "/");
|
core.debug(`Matched: ${relativeFile}`);
|
||||||
core.debug(`Matched: ${relativeFile}`);
|
if (relativeFile === "") {
|
||||||
if (relativeFile === "") {
|
paths.push(".");
|
||||||
paths.push(".");
|
} else {
|
||||||
} else {
|
paths.push(`${relativeFile}`);
|
||||||
paths.push(`${relativeFile}`);
|
|
||||||
}
|
|
||||||
} finally {
|
|
||||||
_e = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e_1_1) {
|
} catch (e_1_1) {
|
||||||
@@ -78456,7 +78452,7 @@ var require_cacheHttpClient = __commonJS({
|
|||||||
}
|
}
|
||||||
__name(createHttpClient, "createHttpClient");
|
__name(createHttpClient, "createHttpClient");
|
||||||
function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) {
|
function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) {
|
||||||
const components = paths;
|
const components = paths.slice();
|
||||||
if (compressionMethod) {
|
if (compressionMethod) {
|
||||||
components.push(compressionMethod);
|
components.push(compressionMethod);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -14,7 +14,7 @@
|
|||||||
"simple-get": "^4.0.0"
|
"simple-get": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "^0.19.0",
|
"esbuild": "^0.20.0",
|
||||||
"standard": "^17.0.0"
|
"standard": "^17.0.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/goto-bus-stop/setup-zig",
|
"homepage": "https://github.com/goto-bus-stop/setup-zig",
|
||||||
|
|||||||
Reference in New Issue
Block a user