Naveen Prashanth and Robin Raju
d049b594b6
Specify different extract path ( #768 )
...
* Update action.yml
* Update download-settings.ts
* Update input-helper.ts
* Update main.ts
* Update action.yml
* Add files via upload
* Update main.test.ts
* Update README.md
* Consolidate extract path and output path inputs, add tests
* Remove dist
---------
Co-authored-by: Robin Raju <robinraju@users.noreply.github.com >
2026-04-18 19:15:02 +01:00
Wires77 and Robin Raju
3bd996fb72
fix #729 : Remove archive after extraction ( #792 )
...
* fix #729 : Remove archive after extraction
Almost all uses of this action that will be extracting a release archive will not need the archive after the fact, so I opted to not put this behind a flag option.
* Move extraction info log after file removal
* Remove unwanted async from rm, fix tests
---------
Co-authored-by: Robin Raju <robinraju@users.noreply.github.com >
2026-04-18 16:02:19 +01:00
Robin Raju
b16c1cd450
Migrate to ESM ( #932 )
...
* Migrate to ESM
* update checks
* Add a precommit hook to avoid changes to dist
* Fix failure on windows
* Fix failure on windows
2026-04-18 14:21:41 +01:00
Robin Raju
d96e594e9f
Add more test coverage ( #920 )
...
* Add more test coverage
* Fix tests
2026-04-06 22:19:06 +01:00
David Schmitt and Robin Raju
32f3c28909
Improve error reporting ( #903 )
...
* Improve error reporting
* Fix lint errors, add dist (temporary)
---------
Co-authored-by: Robin Raju <robinraju@users.noreply.github.com >
2026-04-06 19:32:29 +01:00
Robin Raju
6c76fddc2c
Update project config and dependencies ( #723 )
...
* Update linter config and dependencies
* Remove source map
2024-04-24 17:48:10 +01:00
Robin Raju
cb096d8fa1
Fix No assets found in release error ( #722 )
...
* Debug tar|zip only download
* Add a failing test
* Fix no assets found error
* Update CI test script
* remove default filename
* Replace regex based file matching with minimatch lib
2024-04-24 16:32:37 +01:00
Robin Raju
937fc82288
Fix tests on windows, and package bundled js ( #710 )
...
* Fix tests on windows, and package bundled js
* Fix tests on windows
2024-04-09 12:18:49 +01:00
jackie-linz
452eec1cd3
fix: change zip library to fix garbled extract file under node 20 ( #707 )
...
* fix: change zip library to fix garbled extract file under node 20
fixes : #689
* test: added test for archive file with larger content
2024-04-09 11:01:41 +01:00
Robin Raju
368754b9c6
Download latest prerelease ( #679 )
...
* Download latest prerelease
* Update README
* Add test to workflow
2024-01-27 21:44:08 +00:00
Robin Raju
52c0768930
Throw error when a release with no assets are obtained ( #678 )
2024-01-27 19:13:53 +00:00
Henrik
623a3e0d2e
Add support to extract release archives - fixes #612 ( #613 )
...
* support automatic extraction of archives
* bump actions/io to 1.1.2 & update dev deps
* add extractAssets to interface & fix input parsing
* Update download-settings: fix doc comment
2023-04-26 20:23:10 +01:00
Kevin Mahoney
d64632db82
feat: get release by api id ( #563 )
...
* feat: get release by api id
* fmt
* tests: add fail case for release identification
* read releaseId
* Add releaseId to download settings
2022-12-03 18:33:46 +00:00
Robin Raju
e1f6dbdca9
Fail loudly if an asset is missing from the release ( #542 )
2022-10-22 14:01:41 +01:00
Robin Raju
0ea540940e
Configurable api url to add support for github enterprise server ( #464 )
...
* Add github-api-url to workflow input
* Update readme
2022-06-20 11:40:24 +02:00
Robin Raju
374ee7fc96
Fix test failure on windows runner ( #461 )
2022-06-16 20:27:14 +02:00
Rick Lambrechts and Robin Raju
d2289472cc
Added filename wildcard support ( #460 )
...
* Added filename wildcard support
* Add more tests for wildcard filename matching
Co-authored-by: Robin Raju <robinraju@users.noreply.github.com >
2022-06-16 19:10:54 +02:00
Robin Raju
e0d223890b
Refactor downloader ( #448 )
...
* Refactor: Move downloader to a class
* Use BearerCredentialHandler from typed-rest-client for authentication
Add http response mock to unit tests
2022-06-06 21:27:38 +02:00
Robin Raju
36fe95787d
Add GITHUB_TOKEN as the default to prevent rate limit on macOS runner ( #441 )
2022-05-29 20:13:27 +02:00
Robin Raju
f41ad93917
Fix github api request headers
2020-07-27 21:35:42 +02:00
Robin Raju
19e16339c3
Add support for private repositories
2020-07-27 15:10:54 +02:00
Robin Raju
b7b676bd2f
Add support for downloading multiple files
...
Download asset from any tag/version
Adapt unit test
2020-07-27 01:47:32 +02:00
Robin Raju
02496689dd
Add configurable inputs
...
Update tests
Fix CI config
2020-07-22 19:30:40 +02:00
Robin Raju
b73ea9d0ac
Initial commit
2020-07-21 21:02:57 +02:00