Skip to content

Commit

Permalink
Deleted an unneccessary step in the publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank-Geisler committed Nov 24, 2024
1 parent 35a4961 commit c42d1f2
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/gallery-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up PowerShell
uses: actions/setup-powershell@v2
with:
powershell-version: '7.4'
- name: Install PowerShellGet
run: |
Install-Module -Name PowerShellGet -Force -Scope CurrentUser
Import-Module -Name PowerShellGet
shell: pwsh

- name: Install PowerShellGet
run: |
Install-Module -Name PowerShellGet -Force -Scope CurrentUser
Import-Module -Name PowerShellGet
- name: Publish Module
run: |
$PSGalleryApiKey = "${{ secrets.PSGALLERY_API_KEY }}"
Publish-Module -Path ./ -NuGetApiKey $PSGalleryApiKey
shell: pwsh
- name: Publish Module
run: |
$PSGalleryApiKey = "${{ secrets.PSGALLERY_API_KEY }}"
Publish-Module -Path ./ -NuGetApiKey $PSGalleryApiKey
shell: pwsh

0 comments on commit c42d1f2

Please sign in to comment.