Skip to content

Commit

Permalink
fix: add PSGallery before push
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Oct 30, 2020
1 parent 58a03f1 commit a354e72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -91,4 +91,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Pack and push
run: ./deploy.ps1 -BinVersion ${{ needs.release.outputs.version }} -ModuleVersion ${{ needs.release.outputs.version }} -Repository PSGallery -RepositoryAPIKey $env:PSGALLERY_KEY
run: |
Register-PSRepository -Default -ErrorAction SilentlyContinue
./deploy.ps1 -BinVersion ${{ needs.release.outputs.version }} -ModuleVersion ${{ needs.release.outputs.version }} -Repository PSGallery -RepositoryAPIKey $env:PSGALLERY_KEY

2 comments on commit a354e72

@bgelens
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JanDeDobbeleer Are you aware the gallery is down today? Has been entire day already

@JanDeDobbeleer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am right after this one failed as well. But the initial error message I got was that PSGallery wasn't installed on the device, so I thought it was an issue with the Github Action runner getting a faulty update.

Please sign in to comment.