Skip to content

Releases: hugoalh/github-actions-core-powershell

1.4.0

24 Mar 09:30
b0c05a3
Compare
Choose a tag to compare
  • ADD: Added target GitHub Actions Runner version requirement, currently >= v2.303.0
  • CHANGE: Fixed function Expand-GitHubActionsToolCacheCompressedFile assigned incorrect decompression tool for file type .tgz in the automatic method
  • CHANGE: Function Write-GitHubActionsCommand is renamed to Write-GitHubActionsStdOutCommand
  • CHANGE: Improved function Add-GitHubActionsSecretMask chunks split method
  • CHANGE: Improved function Test-GitHubActionsEnvironment:
    • Environment not fulfilled when in the mandatory mode no longer emit error (GitHub Actions stdout error), instead emit PowerShell error with stop action
    • Parameter StepSummary is deprecated due to have target GitHub Actions Runner version requirement
    • Warning message will display when condition is not fulfilled (multiple warning messages for multiple conditions are not fulfilled); To omit warning messages, append -WarningAction 'SilentlyContinue' to this function
  • CHANGE: Improved function Write-GitHubActionsFileCommand:
    • New parameter FileCommand is adopted and replaced LiteralPath with a safer implementation
    • Resolve confusion errors (e.g.: "Unable to bind $Null to parameter XXXX.")
  • CHANGE: Improved internal random token generation
  • CHANGE: Improved NodeJS wrapper, function Test-GitHubActionsNodeJsEnvironment parameter ReinstallDependencies now deprecated again
  • CHANGE: PowerShell annotations (e.g.: warning, error, etc.) no longer display once only on pipeline functions to match PowerShell native behaviour, user maybe meet more annotations than before
  • CHANGE: Removed internal imports that no longer used
  • CHANGE: Resolved confusion errors (e.g.: "Unable to bind $Null to parameter XXXX.")
  • REMOVE: Removed deprecated function Clear-GitHubActionsFileCommand
  • REMOVE: Removed legacy method of stdout commands:
    • add-path
    • save-state
    • set-env
    • set-output

1.4.0 Beta 1

23 Mar 09:34
Compare
Choose a tag to compare
1.4.0 Beta 1 Pre-release
Pre-release
  • ADD: Added target GitHub Actions Runner version requirement, currently >= v2.303.0
  • CHANGE: Fixed function Expand-GitHubActionsToolCacheCompressedFile assigned incorrect decompression tool for file type .tgz in the automatic method
  • CHANGE: Function Write-GitHubActionsCommand is renamed to Write-GitHubActionsStdOutCommand
  • CHANGE: Improved function Add-GitHubActionsSecretMask chunks split method
  • CHANGE: Improved function Test-GitHubActionsEnvironment:
    • Environment not fulfilled when in the mandatory mode no longer emit error (GitHub Actions stdout error), instead emit PowerShell error with stop action
    • Parameter StepSummary is deprecated due to have target GitHub Actions Runner version requirement
    • Warning message will display when condition is not fulfilled (multiple warning messages for multiple conditions are not fulfilled); To omit warning messages, append -WarningAction 'SilentlyContinue' to this function
  • CHANGE: Improved function Write-GitHubActionsFileCommand:
    • New parameter FileCommand is adopted and replaced LiteralPath with a safer implementation
    • Resolve confusion errors (e.g.: "Unable to bind $Null to parameter XXXX.")
  • CHANGE: Improved internal random token generation
  • CHANGE: Improved NodeJS wrapper, function Test-GitHubActionsNodeJsEnvironment parameter ReinstallDependencies now deprecated again
  • CHANGE: PowerShell annotations (e.g.: warning, error, etc.) no longer display once only on pipeline functions to match PowerShell native behaviour, user maybe meet more annotations than before
  • CHANGE: Removed internal imports that no longer used
  • CHANGE: Resolved confusion errors (e.g.: "Unable to bind $Null to parameter XXXX.")
  • REMOVE: Removed deprecated function Clear-GitHubActionsFileCommand
  • REMOVE: Removed legacy method of stdout commands:
    • add-path
    • save-state
    • set-env
    • set-output

1.3.2

13 Mar 09:31
Compare
Choose a tag to compare
  • CHANGE: Fixed NodeJS wrapper maybe parse arguments, outputs, and/or stdout incorrectly
  • CHANGE: Improved NodeJS environment test and wrapper
  • CHANGE: Rollbacked previous way to install and import NodeJS wrapper API dependencies:
    • Function Test-GitHubActionsNodeJsEnvironment parameter ReinstallDependencies no longer deprecated
    • Resolve issues cause by the bundler

1.3.2 Beta 4

13 Mar 05:34
Compare
Choose a tag to compare
1.3.2 Beta 4 Pre-release
Pre-release
  • CHANGE: Improved NodeJS environment test and wrapper
  • CHANGE: Rollbacked previous way to install and import NodeJS wrapper API dependencies:
    • Function Test-GitHubActionsNodeJsEnvironment parameter ReinstallDependencies no longer deprecated
    • Resolve issues cause by the bundler

1.3.2 Beta 3

12 Mar 09:04
Compare
Choose a tag to compare
1.3.2 Beta 3 Pre-release
Pre-release
  • CHANGE: 4th fix for NodeJS wrapper API

1.3.2 Beta 2

12 Mar 08:30
Compare
Choose a tag to compare
1.3.2 Beta 2 Pre-release
Pre-release
  • CHANGE: 3rd fix for NodeJS wrapper API

1.3.2 Beta 1

12 Mar 07:52
Compare
Choose a tag to compare
1.3.2 Beta 1 Pre-release
Pre-release
  • CHANGE: Another fix for NodeJS wrapper API

1.3.1

12 Mar 05:33
Compare
Choose a tag to compare
  • CHANGE: Fixed NodeJS wrapper API not working

1.3.0

12 Mar 04:54
Compare
Choose a tag to compare
  • CHANGE: Function Get-GitHubActionsOpenIdConnectToken:
    • now fully depends and requires NodeJS to invoke
    • parameter UseNodeJsWrapper is deprecated
    • removed PowerShell implementation
  • CHANGE: Improved function Test-GitHubActionsEnvironment
  • CHANGE: Improved NodeJS wrapper API operations
  • CHANGE: Updated NodeJS wrapper API dependency @actions/cache from v3.2.0 to v3.2.1

1.2.3

09 Mar 04:07
Compare
Choose a tag to compare
  • ADD: Added parameter LookUp for function Restore-GitHubActionsCache
  • CHANGE: Fixed incorrect behaviour in function Restore-GitHubActionsCache parameters SegmentTimeout and Timeout
  • CHANGE: Temporary solution to reduce functions that affected by missing environment variables issue (#54)
  • CHANGE: Updated NodeJS wrapper API dependency @actions/cache from v3.1.4 to v3.2.0