42 Commits
Author SHA1 Message Date
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 RajuandCopilot Autofix powered by AI 616444d935 Potential fix for code scanning alert no. 8: Workflow does not contain permissions (#926)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-04-07 09:36:14 +01:00
Robin Raju a932998710 Build using CI and restrict commits by users (#924) 2026-04-07 00:04:53 +01:00
Robin Raju 1f7f974dea Split CI into separate worflows (pr validation + main branch builds) (#921)
* Split CI into separate worflows (pr validation + main branch builds)

* Fix windows build
2026-04-06 23:07:44 +01:00
Robin Raju 25799c485c Add workflow to check if dist directory id up to date (#908) 2026-03-22 22:36:17 +00:00
Robin Raju 589f66e0b7 Upgrade action runtime to node 24 (#907) 2026-03-22 21:28:27 +00:00
Robin Raju 273a4d19ef chore: group dependendabot updates (#905) 2026-03-22 20:50:19 +00:00
Robin Raju daf26c55d8 Update dev dependencies (#777)
Update dependencies
2025-03-06 17:28:47 +00:00
Robin Raju 647e9552a4 [Release management] - Move the major version tag (such as v1, v2) to point to the Git ref of the current release. (#750)
Create update-main-version.yml
2024-07-03 20:02:27 +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
dependabot[bot] c5ad53923c Bump actions/setup-node from 3 to 4 (#686)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 22:06:21 +00:00
dependabot[bot] 1812d4fa06 Bump actions/checkout from 3 to 4 (#687)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 22:05:24 +00: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
Alexander Schwenn 63ce2a8740 Upgrade node runtime to v20 (#673) 2024-01-27 17:54:31 +00:00
miryo 7eb82bc25d implement feature #616 (#628)
* add outputs variable 'downloaded_files'

* make all files can get by indexer

* use dot '.' to access array member instead of []

* add 'f' prefix

* build dist/index.js

* use '_' to access files array member

* add outputs description

* remove outputs like 'downloaded_file_*'

* try fix build error in example expression

* Fix typo, move usage instructions to README
2023-05-04 15:21:01 +01:00
Robin Raju 82329140db Read booleans from input using getBooleanInput (#627) 2023-04-27 13:01:22 +01:00
Robin Raju a4cbc27db6 Add github actions to Dependabot updates (#494)
Update dependencies
2022-08-03 18:26:27 +02:00
Robin Raju a2560d77c5 Add output variable tag_name to the action (#480)
* Add output variable `tag_name` to the action

* Simplify test steps on ci

* Set bash as default shell for windows runner

* Update README
2022-07-06 13:46:57 +02:00
Robin Raju 374ee7fc96 Fix test failure on windows runner (#461) 2022-06-16 20:27:14 +02:00
Robin Raju 5e9def3438 Remove update-dist workflow 2022-06-06 21:48:27 +02:00
Robin Raju db5d0ae5fa Add macos and windows runners to build workflow (#440)
* Change GH actions workflow to use matrix strategy and use macos and windows runners

* Fix directory path

* Set shell to bash on all runners
2022-05-29 19:39:16 +02:00
Robin Raju 2e85ab963f Add new workflow to check dist/index.js is up to date. (#435)
* Add new workflow to check dist/index.js is up to date.

* Add id to diff checking step

* Push changes to main oin successful build
2022-05-23 23:45:45 +02:00
Robin Raju f17e9ad618 Set default value for repository. (#436)
Use the current repo if no value specified.
2022-05-22 14:06:57 +02:00
Robin Raju 2dd2f6632e Add logging for latest tag name (#374) 2022-02-03 21:21:06 +01:00
Robin Raju 4bdb8ee081 Upgrade node runtime to v16 (#341)
* Upgrade node runntime to v16

* Upgrade node environment
- Fix eslint failures
- Adapt ci workflow

* Add name to ci step
2021-12-07 09:25:59 +01:00
Robin Raju 95181030e3 Change option for downloading all assets to fileName with "*" (#291)
* Change option for downloading all assets to fileName with "*"
Add test on CI to download filew from private repo

* Update CI workflow
2021-08-29 22:47:30 +02:00
Robin Raju d686520cde Fix workflow syntax 2021-07-11 20:05:30 +02:00
Robin Raju 9977899914 Update ci.yml 2021-07-11 20:00:01 +02:00
Robin Raju eebf668e97 Fix workflow syntax 2021-07-11 19:58:33 +02:00
Robin Raju e68d88803a Setup cache for node_modules 2021-07-11 19:55:49 +02:00
Robin Raju c92c3246f9 Update dependabot schedule 2021-06-09 20:09:09 +02:00
Robin Raju 90440745ec Update issue templates 2020-07-30 19:01:28 +02:00
Robin Raju 13337b2b05 Enable dependabot 2020-07-30 13:37:40 +02:00
Robin Raju f41ad93917 Fix github api request headers 2020-07-27 21:35:42 +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 2e69c06e8c Update CI config 2020-07-21 21:26:40 +02:00
Robin Raju a64698aea5 Add dist 2020-07-21 21:21:01 +02:00
Robin Raju 8d7c8fa5fa Run test after build on CI 2020-07-21 21:11:24 +02:00
Robin Raju 86618b5ad2 Enable CI 2020-07-21 21:09:23 +02:00
Robin Raju b73ea9d0ac Initial commit 2020-07-21 21:02:57 +02:00