Skip to content

Commit 0ee249a

Browse files
test
1 parent c4550e7 commit 0ee249a

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/Action-Test.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ jobs:
5858
with:
5959
Prerelease: true
6060
Script: |
61-
Get-ChildItem env: | Format-Table -AutoSize
6261
$cat = Get-GitHubOctocat
6362
$zen = Get-GitHubZen
64-
Set-Content -Path 'octocat.md' -Value $cat
6563
Set-GitHubEnvironmentVariable -Name 'OCTOCAT' -Value $cat
6664
Set-GitHubOutput -Name 'WISECAT' -Value $cat
6765
Set-GitHubOutput -Name 'Zen' -Value $zen
@@ -88,8 +86,7 @@ jobs:
8886
- name: Action-Test-Output
8987
uses: ./
9088
env:
91-
WISECAT: ${{ steps.test.outputs.WISECAT }}
92-
ZEN: ${{ steps.test2.outputs.ZEN }}
89+
result: ${{ steps.test.outputs.WISECAT }}
9390
with:
9491
Script: |
9592
"Wisecat"

scripts/outputs.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
Get-Content -Path $env:GITHUB_OUTPUT
3-
$outputs = Get-GitHubOutput -Path $env:GITHUB_OUTPUT
4-
$outputs
5-
$env:PSMODULE_GITHUB_SCRIPT = $false
6-
Set-GitHubOutput -Name 'result' -Value $outputs.result
3+
# $outputs = Get-GitHubOutput -Path $env:GITHUB_OUTPUT
4+
# $outputs
5+
# $env:PSMODULE_GITHUB_SCRIPT = $false
6+
# Set-GitHubOutput -Name 'result' -Value $outputs.result

0 commit comments

Comments
 (0)