Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.0.1 #1

Merged
merged 2 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# gh-action-buildnum Changelog

## 2.0.1 - TBD

### Fixed
- Add "Content-Type" header which is required Power Shell `[email protected]`.
- Use `node20` as the action runner.

## 2.0.0 - 2023-11-21

### Changed
Expand Down
5 changes: 3 additions & 2 deletions action.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ Write-ActionInfo "Resolved State Gist Name.....: [$stateGistName]"

$gistsApiUrl = "https://api.github.com/gists"
$apiHeaders = @{
Accept = "application/vnd.github.v2+json"
Authorization = "token $gist_token"
Accept = "application/vnd.github.v2+json"
Authorization = "token $gist_token"
"Content-Type" = "application/json"
}

$stateGistBanner = @"
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ branding:
## Even though the Action logic may be implemented
## in PWSH, we still need a NodeJS entry point
runs:
using: node16
using: node20
main: _init/index.js