Skip to content

Commit

Permalink
Update package-example.yml
Browse files Browse the repository at this point in the history
Used Powershell for shell for consistent scripts across platforms.
  • Loading branch information
daveboster authored Feb 6, 2024
1 parent 8c721a8 commit a376da9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/package-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ jobs:
- name: Set Package Metadata 📋
id: package_info
if: ${{ env.CREATE_PACKAGE == 'true' }}
shell: pwsh
run: |
echo "package_version=$(date +'%Y.%m.%d').$GITHUB_RUN_NUMBER" >> $GITHUB_OUTPUT
echo "package_version=$(date +'%Y.%m.%d').$GITHUB_RUN_NUMBER" >> $env:GITHUB_OUTPUT
- name: Create Package
id: package_create
if: ${{ env.CREATE_PACKAGE == 'true' }}
shell: pwsh
run: |
echo Version: ${{ steps.package_info.outputs.package_version }}
echo ${{join(steps.package_info.outputs.*, '\n')}}
echo "Outputs: ${{join(steps.package_info.outputs.*, '\n')}}"

0 comments on commit a376da9

Please sign in to comment.