Skip to content

Commit 064cec7

Browse files
committed
Update resources
1 parent f7352a2 commit 064cec7

File tree

8 files changed

+376
-168
lines changed

8 files changed

+376
-168
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright © 2021\~2024 hugoalh
3+
Copyright © 2021\~2025 hugoalh
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# GitHub Actions - Core (PowerShell)
22

33
> [!IMPORTANT]
4-
> - This project is transferred ownership from hugoalh Studio (`hugoalh-studio`) to hugoalh (`hugoalh`) and refactoring, some of the files may not modified/updated yet.
4+
> - This project is transferred ownership from hugoalh Studio (`hugoalh-studio`) to hugoalh (`hugoalh`).
55
> - Looking the source code of the old PowerShell module `hugoalh.GitHubActionsToolkit`? Please visit the [versions list](https://github.com/hugoalh/github-actions-core-powershell/tags) and select the correct version.
66
77
[**⚖️** MIT](./LICENSE.md)
@@ -80,5 +80,5 @@ This is a partial refactor of [the official toolkit][official-toolkit], not all
8080
Set-Output -Name 'foo' -Value 'bar'
8181
```
8282
- ```ps1
83-
Write-GitHubActionsNotice -Message 'Hello, world!'
83+
Write-Notice -Message 'Hello, world!'
8484
```

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
| **Versions** | **Release Date** | **Long Term Support Date** | **End Of Life Date** |
66
|:-:|:-:|:-:|:-:|
7-
| v3.X.X (`hugoalh.GitHubActionsCore`) | *Unknown* | *N/A* | *Unknown* |
7+
| v3.X.X (`hugoalh.GitHubActionsCore`) | *Unknown* | *Unknown* | *Unknown* |
88
| v2.X.X (`hugoalh.GitHubActionsToolkit`) | 2023-12-04 | 2023-12-27 | *Unknown* |
99

1010
> [!NOTE]

_get-package-members.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This script is help for copy members to the data file for best performance, and use for debug.
44
#>
55
$ErrorActionPreference = 'Stop'
6-
[String]$PackageName = 'hugoalh.GitHubActionsCore'
6+
[System.String]$PackageName = 'hugoalh.GitHubActionsCore'
77
Import-Module -Name @(
88
(Join-Path -Path $PSScriptRoot -ChildPath "$PackageName\$PackageName.psm1")
99
) -Scope 'Local'

hugoalh.GitHubActionsCore/hugoalh.GitHubActionsCore.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
CompanyName = 'hugoalh'
1919

2020
# Copyright statement for this module
21-
Copyright = 'MIT © 2021~2024 hugoalh'
21+
Copyright = 'MIT © 2021~2025 hugoalh'
2222

2323
# Description of the functionality provided by this module
2424
Description = 'A module to provide a better and easier way for GitHub Actions to communicate with the runner, and the toolkit for developing GitHub Actions.'

hugoalh.GitHubActionsCore/hugoalh.GitHubActionsCore.psm1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Requires -PSEdition Core -Version 7.2
2-
[String[]]$ModulesName = @(
2+
[System.String[]]$ModulesName = @(
33
'command-file',
44
'command-stdout',
55
'environment-variable',
@@ -14,10 +14,10 @@ Import-Module -Name (
1414
ForEach-Object -Process { Join-Path -Path $PSScriptRoot -ChildPath "lib\$_.psm1" }
1515
) -Scope 'Local'
1616
[PSCustomObject[]]$PackageCommands = Get-Command -Module $ModulesName -ListImported
17-
[String[]]$PackageFunctions = $PackageCommands |
17+
[System.String[]]$PackageFunctions = $PackageCommands |
1818
Where-Object -FilterScript { $_.CommandType -ieq 'Function' } |
1919
Select-Object -ExpandProperty 'Name'
20-
[String[]]$PackageAliases = $PackageCommands |
20+
[System.String[]]$PackageAliases = $PackageCommands |
2121
Where-Object -FilterScript { $_.CommandType -ieq 'Alias' } |
2222
Select-Object -ExpandProperty 'Name'
2323
Export-ModuleMember -Function $PackageFunctions -Alias $PackageAliases

0 commit comments

Comments
 (0)