Skip to content

Commit

Permalink
update yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
win7user10 committed Nov 23, 2023
1 parent 3d74b2f commit 3f48082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
run: |
major_version=${GITHUB_REF:10:1} \
&& echo "MAJOR_VERSION=${major_version}" >> $GITHUB_ENV \
&& [[ $major_version = 5 ]] && echo "PROJECT_TARGET=netstandard2.1" >> $GITHUB_ENV || [[ $major_version = 6 ]] && echo "PROJECT_TARGET=net6.0" >> $GITHUB_ENV || echo "PROJECT_TARGET=net8.0" \
&& [[ $major_version = 5 ]] && echo "PROJECT_TARGET=netstandard2.1" >> $GITHUB_ENV || [[ $major_version = 6 ]] && echo "PROJECT_TARGET=net6.0" >> $GITHUB_ENV || echo "PROJECT_TARGET=net8.0" >> $GITHUB_ENV \
&& echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Setup .NET5 environment
Expand Down

0 comments on commit 3f48082

Please sign in to comment.