What's Changed
- Resolved an issue with the environment variable generated by the action. It is now named
fetchApiData
as opposed tofetch-api-data
(invalid on Ubuntu). This is not considered a breaking change as this was broken to begin with. This part of the code is not frequently used and thus some iteration was expected here. - Added integration tests to ensure the functionality of the environment variables and step output persists cross versions.
- Added action input that allows you to modify the environment variable name. This is called
variable-name
, and defaults to the standardfetchApiData
name if unset. Details can be found in the project readme. - Properly called setOutput via
@actions/core
so you can now referencefetchApiData
as an output step too should you choose. This was previously documented in theaction.yml
file but not actually called in code. - For working examples of the above you can view the action integration tests here.
Dependencies
- Bump @types/node from 18.8.3 to 18.8.4 by @dependabot in #750
- Bump typescript from 4.8.4 to 4.9.3 by @dependabot in #782
- Bump @typescript-eslint/eslint-plugin from 5.20.0 to 5.43.0 by @dependabot in #780
- Bump @types/node from 18.8.4 to 18.11.10 by @dependabot in #791
- Bump @actions/core from 1.9.1 to 1.10.0 by @dependabot in #738
- Bump @types/mustache from 4.2.1 to 4.2.2 by @dependabot in #787
- Bump eslint-plugin-jest from 27.1.1 to 27.2.1 by @dependabot in #820
- Bump prettier from 2.7.1 to 2.8.4 by @dependabot in #840
- Bump json5 from 2.2.0 to 2.2.3 by @dependabot in #817
- Bump @typescript-eslint/parser from 5.20.0 to 5.54.1 by @dependabot in #858
- Bump eslint from 8.24.0 to 8.48.0 by @dependabot in #868
- Bump @types/node from 18.11.10 to 20.5.7 by @dependabot in #865
- Bump semver from 5.7.1 to 5.7.2 by @dependabot in #864
- Bump tough-cookie from 4.0.0 to 4.1.3 by @dependabot in #863
- Bump word-wrap from 1.2.3 to 1.2.5 by @dependabot in #862
- Bump @typescript-eslint/eslint-plugin from 5.43.0 to 5.62.0 by @dependabot in #866
Full Changelog: v2...v2.3.0