ci
This commit is contained in:
@@ -24,6 +24,12 @@ jobs:
|
||||
run: |
|
||||
TAG="${GITHUB_REF_NAME#v}"
|
||||
echo "PACKAGE_VERSION=$TAG" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Replace ProjectReference with PackageReference
|
||||
run: |
|
||||
sed -i "s#<ProjectReference Include=\"..\/BotPages.Core\/BotPages.Core.csproj\" />#<PackageReference Include=\"BotPages.Core\" Version=\"${{ steps.version.outputs.PACKAGE_VERSION }}\" />#" BotPages.Telegram/BotPages.Telegram.csproj
|
||||
sed -i "s#<ProjectReference Include=\"..\/BotPages.Core\/BotPages.Core.csproj\" />#<PackageReference Include=\"BotPages.Core\" Version=\"${{ steps.version.outputs.PACKAGE_VERSION }}\" />#" BotPages/BotPages.csproj
|
||||
sed -i "s#<ProjectReference Include=\"..\/BotPages.Telegram\/BotPages.Telegram.csproj\" />#<PackageReference Include=\"BotPages.Telegram\" Version=\"${{ steps.version.outputs.PACKAGE_VERSION }}\" />#" BotPages/BotPages.csproj
|
||||
|
||||
- name: Build and Pack projects
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user