Skip to content

Commit f06dbc2

Browse files
committed
Added rename step back to deploy action
1 parent dbb530e commit f06dbc2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/deploy-code.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,14 @@ jobs:
2525

2626
- name: Extract Repo Name
2727
id: repo_name
28-
run: echo "repo_name=$(echo '${{ github.repository }}' | cut -d '/' -f 2)" >> $GITHUB_OUTPUT
28+
run: |
29+
echo "repo_name=$(echo '${{ github.repository }}' | cut -d '/' -f 2)" >> $GITHUB_OUTPUT
30+
echo ${{ steps.repo_name.outputs.repo_name }}
31+
32+
- name: Rename 'src' to Module Name
33+
shell: pwsh
34+
run: |
35+
Rename-Item -Path ./src/ -NewName ${{ steps.repo_name.outputs.repo_name }} -Force
2936
3037
- name: Publish PowerShell
3138
uses: natescherer/[email protected]

0 commit comments

Comments
 (0)