Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 74bca717aa | |||
| bb4505e078 | |||
| dbfca0275d | |||
| d01372220d | |||
| 8e13afa0db | |||
| 98f72c3040 | |||
| 64c0992283 | |||
| 1b5a6e26f4 | |||
| 7c27528ab4 | |||
| 82e8bc69b8 | |||
| b9079670eb | |||
| cab491a426 | |||
| 0747ab3577 |
@@ -3,6 +3,8 @@
|
|||||||
- [Frequently Asked Questions](#frequently-asked-questions)
|
- [Frequently Asked Questions](#frequently-asked-questions)
|
||||||
- [Supported Characters](#supported-characters)
|
- [Supported Characters](#supported-characters)
|
||||||
- [Compression? ZIP? How is my artifact stored?](#compression-zip-how-is-my-artifact-stored)
|
- [Compression? ZIP? How is my artifact stored?](#compression-zip-how-is-my-artifact-stored)
|
||||||
|
- [Which versions of the artifacts packages are compatible?](#which-versions-of-the-artifacts-packages-are-compatible)
|
||||||
|
- [How long will my artifact be available?](#how-long-will-my-artifact-be-available)
|
||||||
|
|
||||||
## Supported Characters
|
## Supported Characters
|
||||||
|
|
||||||
@@ -33,3 +35,28 @@ The value can range from 0 to 9:
|
|||||||
|
|
||||||
Higher levels will result in better compression, but will take longer to complete.
|
Higher levels will result in better compression, but will take longer to complete.
|
||||||
For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads.
|
For large files that are not easily compressed, a value of 0 is recommended for significantly faster uploads.
|
||||||
|
|
||||||
|
## Which versions of the artifacts packages are compatible?
|
||||||
|
[actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact), leverage [GitHub Actions toolkit](https://github.com/actions/toolkit) and are typically used together to upload and download artifacts in your workflows.
|
||||||
|
|
||||||
|
| upload-artifact | download-artifact | toolkit |
|
||||||
|
|---|---|---|
|
||||||
|
| v4 | v4 | v2 |
|
||||||
|
| < v3 | < v3 | < v1 |
|
||||||
|
|
||||||
|
Use matching versions of `actions/upload-artifact` and `actions/download-artifact` to ensure compatibility.
|
||||||
|
|
||||||
|
In your GitHub Actions workflow YAML file, you specify the version of the actions you want to use. For example:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
# ...
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
|
**Release Notes:**
|
||||||
|
Check the release notes for each repository to see if there are any specific notes about compatibility or changes in behavior.
|
||||||
|
|
||||||
|
## How long will my artifact be available?
|
||||||
|
The default retention period is **90 days**. For more information, visit: https://github.com/actions/upload-artifact?tab=readme-ov-file#retention-period
|
||||||
|
|||||||
Vendored
+4
@@ -164,3 +164,7 @@
|
|||||||
### 3.2.2
|
### 3.2.2
|
||||||
|
|
||||||
- Add new default cache download method to improve performance and reduce hangs [#1484](https://github.com/actions/toolkit/pull/1484)
|
- Add new default cache download method to improve performance and reduce hangs [#1484](https://github.com/actions/toolkit/pull/1484)
|
||||||
|
|
||||||
|
### 3.2.3
|
||||||
|
|
||||||
|
- Fixed a bug that mutated path arguments to `getCacheVersion` [#1378](https://github.com/actions/toolkit/pull/1378)
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@actions/cache",
|
"name": "@actions/cache",
|
||||||
"version": "3.2.2",
|
"version": "3.2.3",
|
||||||
"preview": true,
|
"preview": true,
|
||||||
"description": "Actions cache lib",
|
"description": "Actions cache lib",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
+2
-1
@@ -80,7 +80,8 @@ export function getCacheVersion(
|
|||||||
compressionMethod?: CompressionMethod,
|
compressionMethod?: CompressionMethod,
|
||||||
enableCrossOsArchive = false
|
enableCrossOsArchive = false
|
||||||
): string {
|
): string {
|
||||||
const components = paths
|
// don't pass changes upstream
|
||||||
|
const components = paths.slice()
|
||||||
|
|
||||||
// Add compression method to cache version to restore
|
// Add compression method to cache version to restore
|
||||||
// compressed cache as per compression method
|
// compressed cache as per compression method
|
||||||
|
|||||||
Reference in New Issue
Block a user