From 1d3bb4b977387c3f48c45aca36a760b2a36d7c8a Mon Sep 17 00:00:00 2001
From: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com>
Date: Thu, 20 Jul 2023 18:37:34 -0700
Subject: [PATCH] Fix publish-packages workflow (#4678)
---
.github/workflows/publish-packages-1.0.yml | 4 ++--
OpenTelemetry.proj | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/publish-packages-1.0.yml b/.github/workflows/publish-packages-1.0.yml
index 2a21b76fba7..1f78ace5a35 100644
--- a/.github/workflows/publish-packages-1.0.yml
+++ b/.github/workflows/publish-packages-1.0.yml
@@ -27,10 +27,10 @@ jobs:
ref: ${{ github.ref || 'main' }}
- name: Install dependencies
- run: dotnet restore
+ run: dotnet restore OpenTelemetry.proj
- name: dotnet build
- run: dotnet build --configuration Release --no-restore -p:Deterministic=true -p:BuildNumber=${{ github.run_number }}
+ run: dotnet build OpenTelemetry.proj --configuration Release --no-restore -p:Deterministic=true -p:BuildNumber=${{ github.run_number }}
- name: dotnet pack
run: dotnet pack OpenTelemetry.proj --configuration Release --no-build
diff --git a/OpenTelemetry.proj b/OpenTelemetry.proj
index 8ceedc47bf5..7760c785c59 100644
--- a/OpenTelemetry.proj
+++ b/OpenTelemetry.proj
@@ -10,6 +10,11 @@
+
+
+
+