Skip to content

Commit

Permalink
powershell datetime fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanb58 committed Jul 5, 2023
1 parent 048e477 commit 69af19b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-export-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
target_powerplatform_environment:
description: "URL for the target Power Platform Environment"
required: false

jobs:
export-solution:
runs-on: windows-latest
Expand All @@ -21,7 +22,7 @@ jobs:
- id: date
name: Get current datetime
run: |
$datetime = Get-Date -Format "yyyy-MM-ddTHH:mm:ss"
$datetime = $(Get-Date -Format "yyyy-MM-ddTHH:mm:ss")
echo "::set-output name=datetime::$datetime"
shell: pwshs

Expand Down

0 comments on commit 69af19b

Please sign in to comment.