Skip to content

Commit

Permalink
feat: disable package name verification
Browse files Browse the repository at this point in the history
  • Loading branch information
ppiwow-apay committed Mar 22, 2024
1 parent daed978 commit 1d7be5b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ jobs:
run: dotnet test -c Release --no-build --verbosity normal
- name: Pack
run: dotnet pack -v normal -c Release --no-build --include-symbols --include-source -o package
- name: Verify package name & version
id: nupkg
if: inputs.publish
run: |
TAG_NAME=${{ inputs.tagName }}
VERSION=${TAG_NAME##*v}
NUPKG="${{ inputs.projectName }}.${VERSION}.nupkg"
echo "::set-output name=filename::$NUPKG"
if [ ! -f package/$NUPKG ]; then
echo "File '$NUPKG' does not exist";
exit 1;
fi
# - name: Verify package name & version
# id: nupkg
# if: inputs.publish
# run: |
# TAG_NAME=${{ inputs.tagName }}
# VERSION=${TAG_NAME##*v}
# NUPKG="${{ inputs.projectName }}.${VERSION}.nupkg"
# echo "::set-output name=filename::$NUPKG"
# if [ ! -f package/$NUPKG ]; then
# echo "File '$NUPKG' does not exist";
# exit 1;
# fi
- uses: actions/upload-artifact@v3
if: inputs.publish
with:
Expand Down

0 comments on commit 1d7be5b

Please sign in to comment.