Skip to content

[pull] main from actions:main #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 322 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 68 commits
Commits
Show all changes
322 commits
Select commit Hold shift + click to select a range
22a72ac
Include #1551 in `@actions/core` 1.11.0 release notes (#1840)
joshmgross Oct 2, 2024
d14afd7
Explicitly import `crypto` (#1842)
joshmgross Oct 4, 2024
c18a7d2
Merge pull request #1815 from mydea/fn/remove-crypto
JoannaaKL Oct 7, 2024
545e0e6
properly resolve relative symlinks
robherley Oct 8, 2024
49cbbbc
Update symlink bug fix reference number
robherley Oct 8, 2024
201b082
Merge pull request #1844 from actions/robherley/artifact-2.1.11
robherley Oct 8, 2024
799f8f5
Update artifact release notes
robherley Oct 8, 2024
ee93b05
Merge pull request #1845 from actions/robherley/update-release-notes
robherley Oct 8, 2024
13abc95
Port restoreCache to new service
Link- Oct 9, 2024
4d1dedf
Merge branch 'main' into neo-cache-service
Link- Oct 9, 2024
c6c5ef6
bump @sigstore/sign from 2.3.2 to 3.0.0
bdehamer Oct 14, 2024
ac1332a
bump @actions/core from 1.10.1 to 1.11.1
bdehamer Oct 14, 2024
26c752f
prep release of @actions/attest v1.5.0
bdehamer Oct 14, 2024
7b4d976
Merge pull request #1846 from actions/bdehamer/sigstore-3-0-0
bdehamer Oct 14, 2024
72113fe
Merge pull request #1847 from actions/bdehamer/attest-update-core
bdehamer Oct 14, 2024
29d342f
Merge pull request #1848 from actions/bdehamer/attest-prep-1-5
bdehamer Oct 14, 2024
d399e33
Merge branch 'main' into neo-cache-service
Link- Oct 21, 2024
89354f6
Cleanup implementation and use tarballs instead of streaming zip
Link- Oct 21, 2024
7f5921c
Document unreleased changes in `cache` and `tool-cache` (#1856)
joshmgross Oct 22, 2024
28dbd8f
Cleanups and package refactoring
Link- Oct 24, 2024
01bf918
Refactoring & cleanup
Link- Oct 24, 2024
717ba9d
Handle tags containing "@" character in `buildSLSAProvenancePredicate`
meriadec Oct 30, 2024
65ee4d3
use macos-latest-large in test/release workflows (#1869)
bdehamer Nov 1, 2024
265a5be
support multi-subject attestations
bdehamer Oct 30, 2024
43ce96d
Merge pull request #1865 from actions/bdehamer/multi-subject
bdehamer Nov 1, 2024
339447c
Merge pull request #1863 from meriadec/attest-provenance-tags
bdehamer Nov 1, 2024
7e54468
update release notes for @actions/attest v1.5.0
bdehamer Nov 1, 2024
d13839f
Merge pull request #1870 from actions/bdehamer/attest-1.5-release-notes
bdehamer Nov 1, 2024
77f247b
Prepare `@actions/cache` 3.3.0 release (#1871)
joshmgross Nov 1, 2024
bb2278e
Extend Node version test coverage (#1843)
joshmgross Nov 8, 2024
75cdb2c
Merge branch 'main' into neo-cache-service
Link- Nov 14, 2024
9da70ff
Post merge cleanup
Link- Nov 14, 2024
4e1912a
Restore __tests__
Link- Nov 14, 2024
d109d9c
Handle ACTIONS_CACHE_SERVICE_V2 feature flag
Link- Nov 14, 2024
9dff82c
Port dependencies & remove dependency on toolkit/artifacts
Link- Nov 14, 2024
69409b3
Fix broken test
Link- Nov 14, 2024
b2557ac
Formatting and stylistic cleanup
Link- Nov 14, 2024
19cdd5f
Linter cleanups
Link- Nov 14, 2024
83baffc
Package upgrades with security fixes
Link- Nov 14, 2024
2ee77e6
Add missing function return types
Link- Nov 14, 2024
c3e354d
Remove unnecessary debug information
Link- Nov 14, 2024
ea4bf48
Remove unnecessary debug information
Link- Nov 14, 2024
5e9ef85
Lint fixes
Link- Nov 14, 2024
ab8110f
Remove unecessary packages from top level package.json
Link- Nov 14, 2024
555b03f
Revert package.json
Link- Nov 14, 2024
68ab87c
Add check to make sure archive has been created already
Link- Nov 14, 2024
6c11d44
Remove unnecessary type hints
Link- Nov 14, 2024
3ca8547
Merge branch 'neo-cache-service' of github.com:actions/toolkit into n…
Link- Nov 14, 2024
8616c31
Remove unused definitions
Link- Nov 14, 2024
a1e6ef3
Update cache service APIs & cleanup
Link- Nov 20, 2024
ab58a59
Bump cross-spawn to 7.0.6
Link- Nov 20, 2024
267841d
Add isGhes gate and refactor to clean up circular dependencies
Link- Nov 21, 2024
e2028d4
Linter fixes and remove unnecessary dependency
Link- Nov 21, 2024
39d1981
Add restore tests
Link- Nov 22, 2024
20ed290
Merge pull request #1857 from actions/neo-cache-service
Link- Nov 22, 2024
27dfd2c
Merge branch 'main' into add-restore-tests
Link- Nov 22, 2024
4de30f7
Add more tests for restoreCacheV2
Link- Nov 25, 2024
54ac2dd
Add cache service version debug message
Link- Nov 25, 2024
4dadd61
Add support for matching on restore key values
Link- Nov 25, 2024
de236da
Fix cache lookup scenario
Link- Nov 25, 2024
2d25139
Remove unused package
Link- Nov 25, 2024
0e321b2
Add the download cache file status code to debug log
Link- Nov 25, 2024
4d31e10
Add the download cache file status code to debug log
Link- Nov 25, 2024
35ede8f
Add a new debug message for downloads
Link- Nov 25, 2024
928d3e8
Merge pull request #1876 from actions/add-restore-tests
Link- Nov 25, 2024
8f60668
Add saveCacheV2 tests
johnsudol Nov 24, 2024
1f08749
Add debug message for uploadResponse
johnsudol Nov 26, 2024
46174ed
run prettier
johnsudol Nov 26, 2024
208dbe2
PR feedback
johnsudol Nov 26, 2024
94f18eb
Only mock the cacheUtil methods we need
johnsudol Nov 26, 2024
5d0a4af
Remove unused mock
johnsudol Nov 26, 2024
b050504
Add test case for when the uploadFile fails on the blobclient
johnsudol Nov 27, 2024
27e5cf2
Replace downloadCacheFile with downloadCacheStorageSDK
Link- Nov 27, 2024
af3981c
Update the useragent of the old http client to pass cache version
Link- Nov 27, 2024
35d87ab
Refactor code formatting for consistency and readability
Link- Nov 27, 2024
9cc30cb
Add `saveCacheV2` tests (#1879)
johnsudol Nov 27, 2024
3a128c8
Merge branch 'main' into enhance-blob-client
Link- Nov 27, 2024
c5a5de0
Delete download-cache
Link- Nov 28, 2024
df16670
Refactor cache upload functionality and improve test cases
Link- Nov 28, 2024
c1fb081
Linter fixes
Link- Nov 28, 2024
eaf0083
Respect download options for restore
Link- Nov 28, 2024
62f5f18
Refactor saveCacheV2 to use saveCache from cacheHttpClient
Link- Nov 28, 2024
8c5f6f2
Force use of Azure for restoreCacheV2
Link- Nov 28, 2024
65892d5
Fine tune blob uploads
Link- Nov 29, 2024
1d403c2
Fix tests
Link- Nov 29, 2024
c6f1224
Add progress tracking for blob uploads
Link- Dec 2, 2024
ee1c07d
Add error handling for failed uploads
Link- Dec 2, 2024
4a272e9
Troubleshoot
Link- Dec 2, 2024
db1d013
Troubleshoot
Link- Dec 2, 2024
d89855b
Fix upload progress bug
Link- Dec 2, 2024
a762876
Minor refactoring
Link- Dec 2, 2024
87171e2
Fix tests
Link- Dec 2, 2024
7ad18fd
Fix linter complaints
Link- Dec 2, 2024
792ec71
Tune upload options
Link- Dec 2, 2024
b24632b
Fix comments
Link- Dec 2, 2024
3f7df8e
Fix comments
Link- Dec 2, 2024
502e8ce
Minor comment adjustments
Link- Dec 2, 2024
fb40492
Merge branch 'enhance-blob-client' of github.com:actions/toolkit into…
Link- Dec 2, 2024
c649df4
Minor comment adjustments
Link- Dec 2, 2024
c02c929
Minor comment adjustments
Link- Dec 2, 2024
a10e209
Merge pull request #1882 from actions/enhance-blob-client
Link- Dec 2, 2024
4498687
Prepare @actions/cache 4.0.0 release
Link- Dec 3, 2024
cb001af
Update README to include deprecation notice
Link- Dec 3, 2024
59845ec
Update deprecation notice
Link- Dec 4, 2024
72447df
Update deprecation notice
Link- Dec 4, 2024
cd9197e
Add announcement link
Link- Dec 4, 2024
0827eef
Rerun CI
Link- Dec 4, 2024
b7a00a3
Merge pull request #1886 from actions/Link-/cache-4.0.0
Link- Dec 4, 2024
1e0c16f
return artifact digest on upload
bdehamer Dec 6, 2024
f522fdf
Merge pull request #1896 from actions/bdehamer/artifact-digest
bdehamer Dec 17, 2024
4426b4e
Prepare artifact release 2.2.0
bdehamer Dec 17, 2024
433f760
Merge pull request #1908 from actions/bdehamer/artifact-2.2.0
bdehamer Dec 17, 2024
26f8f84
Remove unused cache API (#1907)
joshmgross Dec 17, 2024
01f21ba
Remove more unused cache APIs
joshmgross Dec 17, 2024
adb9c4a
Remove more unused cache APIs (#1909)
joshmgross Dec 19, 2024
f3c12d5
Set default concurrency to 10 and make timeout configurable
yacaovsnc Jan 8, 2025
ede05b9
Make concurrency change opt-in, but can only go lower
yacaovsnc Jan 8, 2025
d4385a6
Concurrency has a min of 1
yacaovsnc Jan 8, 2025
e554093
Rename the prefix to be more specific
yacaovsnc Jan 8, 2025
16ef144
Merge pull request #1928 from actions/yacaovsnc/artifact_upload_concu…
yacaovsnc Jan 8, 2025
3095d11
Prep release packages/artifact v2.2.1
yacaovsnc Jan 8, 2025
5e8c25d
Merge pull request #1929 from actions/yacaovsnc/release_artifact_2_2_1
yacaovsnc Jan 9, 2025
1f7c2c7
[tool-cache] Update `@actions/core` and prepare 2.0.2 release (#1872)
joshmgross Jan 15, 2025
e0c069d
remove runtime dependency on twirp-ts
robherley Jan 27, 2025
340a6b1
update undici package to 5.25.5 (#1942)
e-hosseini Jan 28, 2025
6a942b3
Merge pull request #1947 from actions/robherley/rm-twirp-ts
robherley Feb 14, 2025
e6fb8f1
cache miss as debug, not warning annotation
robherley Feb 14, 2025
7fe619c
update mocks
robherley Feb 14, 2025
aad39a3
Merge pull request #1954 from actions/robherley/miss-msg
robherley Feb 14, 2025
95e7473
bump undici to 5.28.5
bdehamer Feb 14, 2025
8fcec1f
update manifests & release notes for cache v4.0.1
robherley Feb 14, 2025
412108c
add undici to @actions/github dependencies
bdehamer Feb 14, 2025
2b08dc1
Merge pull request #1958 from actions/robherley/cache/v4.0.1
robherley Feb 14, 2025
c26e6f3
Default upload artifacts concurrency to 5
yacaovsnc Feb 20, 2025
f10f9c8
Merge pull request #1962 from actions/yacaovsnc/set_default_concurren…
yacaovsnc Feb 20, 2025
2995cdf
Prepare artifact release 2.2.2
yacaovsnc Feb 20, 2025
a62f530
Update package-lock.json
yacaovsnc Feb 20, 2025
662b9d9
Merge pull request #1963 from actions/yacaovsnc/release_2_2_2
yacaovsnc Feb 20, 2025
d096588
cache: wrap create failures in ReserveCacheError
robherley Feb 25, 2025
1b9063e
Merge pull request #1966 from actions/robherley/wrap-create-cache-err
robherley Feb 25, 2025
4fedf47
cache: prep v4.0.2 release
robherley Feb 25, 2025
b95b593
Merge pull request #1957 from actions/bdehamer/update-undici
bdehamer Feb 25, 2025
5378ea8
Merge pull request #1968 from actions/robherley/cache/v4.0.2
robherley Feb 25, 2025
0bc338a
set workflow.ref provenance field from ref claim
bdehamer Feb 26, 2025
ec9716b
Merge pull request #1969 from actions/bdehamer/workflow-ref
bdehamer Feb 26, 2025
780e24b
Dont skip pages
JoannaaKL Mar 5, 2025
d5c8a0f
Update proto artifact interface, retrieve artifact digests, return in…
GhadimiR Mar 5, 2025
83e5e25
Change some debug -> info for artifacts hash logging
GhadimiR Mar 5, 2025
71b40f7
nicer wording
GhadimiR Mar 5, 2025
3726c11
Please the linter
GhadimiR Mar 5, 2025
d70fb49
Merge pull request #1974 from actions/list-artifacts-fix
JoannaaKL Mar 6, 2025
944e6b7
Add secret and signature masking for cache and artifact packages
salmanmkc Mar 6, 2025
884aa17
remove these changes
salmanmkc Mar 6, 2025
8c05dc8
Change info logs to debug logs
GhadimiR Mar 7, 2025
dc22dc7
Merge pull request #1975 from actions/ghadimir/update_call_to_list_ar…
GhadimiR Mar 7, 2025
b85d4e6
Prepare for Artifact v2.2.3 release
GhadimiR Mar 7, 2025
1cd2f8a
Instead of using utility method in core lib, use method in both twirp…
salmanmkc Mar 7, 2025
47c4fa8
masks the whole URL, update tests
salmanmkc Mar 10, 2025
5007821
Remove clean script
salmanmkc Mar 10, 2025
d0cc341
Bump version to 2.3.0
GhadimiR Mar 10, 2025
7501423
Update RELEASES.md for version 2.3.0
GhadimiR Mar 10, 2025
20fee3e
Update @actions/artifact version to 2.3.0
GhadimiR Mar 10, 2025
9d8017e
Merge pull request #1976 from actions/ghadimir/prep_artifact_release
GhadimiR Mar 10, 2025
790c566
Update releases.yml
GhadimiR Mar 10, 2025
8780507
Merge pull request #1985 from actions/ghadimir/dropdown_releases
GhadimiR Mar 10, 2025
d7ddca4
Fix comment on expectedHash
GhadimiR Mar 11, 2025
769bb0f
Merge pull request #1986 from actions/ghadimir/digest_typo
GhadimiR Mar 11, 2025
0d1d5c7
Bump release version
GhadimiR Mar 11, 2025
b2d2270
Bump package.json
GhadimiR Mar 11, 2025
7ae578d
Merge pull request #1987 from actions/ghadimir/digest_typo
GhadimiR Mar 11, 2025
56c5a39
Update blob-upload.ts
GhadimiR Mar 12, 2025
3ac34ff
Mask different situations, malformed URL, encoded, decoded, raw signa…
salmanmkc Mar 12, 2025
253e837
Merge pull request #1991 from actions/ghadimir/hash_to_digest_upload
GhadimiR Mar 12, 2025
abd9054
Log debug error when failing to decode
salmanmkc Mar 12, 2025
fc48266
PR feedback, back to simplified approach, no export on client as well
salmanmkc Mar 13, 2025
6876e2a
update ts docs
salmanmkc Mar 13, 2025
d13e631
fix tests
salmanmkc Mar 14, 2025
39419dd
don't need to url encode or set var
salmanmkc Mar 14, 2025
957d42e
add encoding back with extra tests
salmanmkc Mar 14, 2025
5143143
Log cache version requested
gitulisca Mar 14, 2025
2559a2a
Merge pull request #1982 from actions/salmanmkc/obfuscate-sas
salmanmkc Mar 17, 2025
4059d2a
update versions for cache and artifact
salmanmkc Mar 17, 2025
261fcae
change it to minor version instead of patch
salmanmkc Mar 17, 2025
4d4bbeb
update package-lock.json
salmanmkc Mar 17, 2025
ff4d4af
shared instead of secure
salmanmkc Mar 17, 2025
c40bccc
Use patch instead of minor
salmanmkc Mar 17, 2025
857c61a
Merge pull request #1994 from gitulisca-enterprise-cloud-testing/gitu…
JoannaaKL Mar 17, 2025
10277d4
Add update to release doc, as will include it in this release
salmanmkc Mar 17, 2025
a410c4a
remove extra brace
salmanmkc Mar 17, 2025
930c890
Merge pull request #1995 from actions/salmanmkc/2-new-cache-artifacts…
salmanmkc Mar 17, 2025
07341e1
fix link in `@actions/artifact` `RELEASES.md`
AbhiPrasad Mar 26, 2025
525ebf0
Merge pull request #2004 from AbhiPrasad/patch-1
salmanmkc Apr 9, 2025
1b1e815
Update README.md (#1719)
alissontenorio Apr 9, 2025
87cb703
add env variable for cache tests
GhadimiR May 6, 2025
d50f1ac
change url
GhadimiR May 6, 2025
5ae4c5b
don't need that maybe
GhadimiR May 6, 2025
d156bca
maybe this works instead
GhadimiR May 6, 2025
e8f276a
alphabetically order them
GhadimiR May 7, 2025
aebe304
Merge pull request #2041 from actions/ghadimir/fix_cache_tests
GhadimiR May 7, 2025
2b47632
fix packages/gh deps
GhadimiR May 7, 2025
2046ee6
gh package release prep
GhadimiR May 7, 2025
07cac0a
bump gh package ver
GhadimiR May 7, 2025
917a43e
bump octokit methods
GhadimiR May 7, 2025
ef199a9
Merge pull request #2043 from actions/ghadimir/audit_fix
GhadimiR May 7, 2025
2e4ab87
artifact deps
GhadimiR May 8, 2025
f32d6bc
bump octokit core
GhadimiR May 8, 2025
6444290
release prep
GhadimiR May 8, 2025
8007c1c
Merge pull request #2049 from actions/ghadimir/audit_fix
GhadimiR May 8, 2025
6ed621e
Bump @octokit/endpoint from 9.0.5 to 9.0.6 in /packages/attest
dependabot[bot] May 8, 2025
957610a
Bump @octokit/request-error from 5.1.0 to 5.1.1 in /packages/attest
dependabot[bot] May 8, 2025
a25b686
Merge pull request #2044 from actions/dependabot/npm_and_yarn/package…
bdehamer May 8, 2025
36db4d6
Merge pull request #2045 from actions/dependabot/npm_and_yarn/package…
bdehamer May 8, 2025
8d8a914
Document `context.runAttempt` in @actions/github 6.0.1 (#2054)
joshmgross May 13, 2025
41b3ce3
Bump undici from 5.28.5 to 5.29.0 in /packages/attest
dependabot[bot] May 15, 2025
f31c292
Merge pull request #2058 from actions/dependabot/npm_and_yarn/package…
bdehamer May 25, 2025
dbb1ea3
Fix typo in `core/README.md`
esainane May 27, 2025
12e323a
Update README.md
nebuk89 Jun 10, 2025
c28e7d4
Update README.md
nebuk89 Jun 12, 2025
683703c
Merge pull request #2086 from actions/nebuk89-patch-1
nebuk89 Jun 16, 2025
be5a2ce
Initial plan
Copilot Jul 14, 2025
3c90578
Improve cache service availability determination and change warnings …
Copilot Jul 14, 2025
513216f
Fix tests to expect errors instead of warnings for cache failures
Copilot Jul 14, 2025
0c5da92
Fix logging of cache key and restore key matches
Link- Jul 14, 2025
cf4886c
Fix linting issues
Link- Jul 14, 2025
cf3aaeb
Update tests to expect warnings instead of errors for non-5xx cache f…
Copilot Jul 14, 2025
bbc6082
Add .nx/ to .gitignore to exclude build cache files
Copilot Jul 14, 2025
c51178a
Implement 5xx server error detection and fix most cache tests
Copilot Jul 14, 2025
bab3dcf
Complete PR feedback implementation: all cache tests passing
Copilot Jul 14, 2025
d48d6b6
Remove logCacheError function and implement inline 5xx error detectio…
Copilot Jul 14, 2025
89397db
Restore server error test and confirm logCacheError function removal
Copilot Jul 14, 2025
bd54a24
Fix v1 cache service to only check ACTIONS_CACHE_URL
Copilot Jul 14, 2025
a0907ed
Remove .nx/ from .gitignore as requested
Copilot Jul 14, 2025
79e1d8b
Merge pull request #2101 from actions/Link-/clarify-cache-hit-log
Link- Jul 18, 2025
6d3feab
Merge pull request #2100 from actions/copilot/fix-2099
Link- Jul 28, 2025
d65ee66
Move @protobuf-ts/plugin to dev dependencies
Link- Jul 28, 2025
eb62265
Merge pull request #2076 from esainane/what-the-word-is-is
salmanmkc Jul 31, 2025
8a3652e
Optimise cache dependencies
Link- Jul 31, 2025
8ff772d
Merge pull request #2106 from actions/Link-/optimise-cache-deps
Link- Jul 31, 2025
c672308
Prepare release 4.0.4
Link- Aug 6, 2025
bf3fc92
Merge pull request #2111 from actions/Link-/cache-4.0.4
Link- Aug 6, 2025
6c64260
Reintroduce @protobuf-ts/runtime as a runtime dependency v2.11.1
Link- Aug 7, 2025
0171562
Replace @protobuf-ts/runtime with higher level dep @protobuf-ts/runti…
Link- Aug 7, 2025
ec43e58
Merge pull request #2113 from actions/Link-/fix-runtime-deps
Link- Aug 7, 2025
c9316bb
Update cache package compilation step to install only runtime depende…
Link- Aug 7, 2025
3a607d0
Update .github/workflows/cache-tests.yml
Link- Aug 7, 2025
f3e6fb1
Fix linter complaints
Link- Aug 7, 2025
26b9403
Merge branch 'Link-/fix-cache-tests' of github.com:actions/toolkit in…
Link- Aug 7, 2025
a6be3de
Merge pull request #2114 from actions/Link-/fix-cache-tests
Link- Aug 7, 2025
447ee85
Prepare release 4.0.5
Link- Aug 7, 2025
227b1ce
Merge pull request #2115 from actions/Link-/release-4.0.5
Link- Aug 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: npm run bootstrap

- name: audit tools (without allow-list)
run: npm audit --audit-level=moderate
run: npm audit --audit-level=moderate --omit dev

- name: audit packages
run: npm run audit-all
2 changes: 2 additions & 0 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
name: Publish NPM

run-name: Publish NPM - ${{ github.event.inputs.package }}

on:
workflow_dispatch:
inputs:
Expand Down
29 changes: 15 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions packages/artifact/RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# @actions/artifact Releases

### 2.1.11

- Fixed a bug with relative symlinks resolution [#1844](https://github.com/actions/toolkit/pull/1844)
- Use native `crypto` [#1815](https://github.com/actions/toolkit/pull/1815)

### 2.1.10

- Fixed a regression with symlinks not being automatically resolved [#1830](https://github.com/actions/toolkit/pull/1830)
- Fixed a regression with chunk timeout [#1786](https://github.com/actions/toolkit/pull/1786)

### 2.1.9

- Fixed artifact upload chunk timeout logic [#1774](https://github.com/actions/toolkit/pull/1774)
- Use lazy stream to prevent issues with open file limits [#1771](https://github.com/actions/toolkit/pull/1771)

### 2.1.8

- Allows `*.localhost` domains for hostname checks for local development.

### 2.1.7

- Update unzip-stream dependency and reverted to using `unzip.Extract()`
Expand Down
5 changes: 5 additions & 0 deletions packages/artifact/__tests__/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ describe('isGhes', () => {
expect(config.isGhes()).toBe(false)
})

it('should return false when the request domain ends with .localhost', () => {
process.env.GITHUB_SERVER_URL = 'https://github.localhost'
expect(config.isGhes()).toBe(false)
})

it('should return false when the request domain is specific to an enterprise', () => {
process.env.GITHUB_SERVER_URL = 'https://my-enterprise.github.com'
expect(config.isGhes()).toBe(true)
Expand Down
Loading