Skip to content

Commit

Permalink
next try
Browse files Browse the repository at this point in the history
  • Loading branch information
DavenaHack committed Nov 16, 2024
1 parent 1f40d4f commit 3cb78e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ jobs:
dotnet-version: '9.0.x'

- name: Pack the project
run: find -type f -name "${PACKAGE}.csproj" | xargs -I {} dotnet pack "{}" --configuration Release --output ./nupkgs
run: find -type f -name "$PACKAGE.csproj" | xargs -I {} dotnet pack "{}" --configuration Release --output ./nupkgs

- name: Validate package version
run: |
PACKAGE_FILE=$(find ./nupkgs -name '${PACKAGE}.nupkg' | head -n 1)
echo $PACKAGE
PACKAGE_FILE=$(find ./nupkgs -name '$PACKAGE.nupkg' | head -n 1)
NUPKG_VERSION=$(dotnet nuget list source --format short | grep -oP 'Version=\K[^;]+')
echo "Expected Version: $VERSION"
Expand Down

0 comments on commit 3cb78e9

Please sign in to comment.