Skip to content

Commit

Permalink
[DEVOPS-414] Set LIBRARIES to an array
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Feb 28, 2024
1 parent bae0979 commit 5ac0301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Push ${{ steps.project-name.outputs.projectName }} Packages
if: ${{ inputs.libraries }}
run: |
LIBRARIES="${{ inputs.libraries }}"
LIBRARIES=(${{ inputs.libraries }})
for LIBRARY in "${LIBRARIES[@]}"; do
cd "${{ github.workspace }}/${{ steps.project-name.outputs.projectName }}/${LIBRARY}/bin/Release/"
dotnet nuget push "*.nupkg" --api-key "${{ secrets.GITHUB_TOKEN }}" --source "https://nuget.pkg.github.com/andrews-mcmeel-universal/index.json" --skip-duplicate
Expand Down

0 comments on commit 5ac0301

Please sign in to comment.