Skip to content

Commit e300b15

Browse files
authored
Merge pull request #2 from ephos/UpdatingDeployAction
Updating Deploy Action
2 parents dbb530e + 00ef7a6 commit e300b15

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
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]

src/PSSWAPI.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
RootModule = 'PSSWAPI.psm1'
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.1.1'
15+
ModuleVersion = '0.1.2'
1616

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()

0 commit comments

Comments
 (0)