File tree Expand file tree Collapse file tree 2 files changed +23
-11
lines changed
Expand file tree Collapse file tree 2 files changed +23
-11
lines changed Original file line number Diff line number Diff line change @@ -148,16 +148,35 @@ jobs:
148148 echo "Created tar.gz archive"
149149 fi
150150
151- - name : Debug created archives
151+ - name : Verify archive creation
152152 run : |
153- echo "Created archives:"
154- ls -la ./artifacts/nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.*
153+ echo "Verifying archive was created..."
154+ echo "Current working directory: $(pwd)"
155+ echo "Looking for archive files..."
156+ if [[ "${{ matrix.runtime }}" == win-* ]]; then
157+ ARCHIVE_FILE="./artifacts/nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.zip"
158+ else
159+ ARCHIVE_FILE="./artifacts/nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.tar.gz"
160+ fi
161+
162+ if [ -f "$ARCHIVE_FILE" ]; then
163+ echo "✅ Archive found: $ARCHIVE_FILE"
164+ ls -la "$ARCHIVE_FILE"
165+ else
166+ echo "❌ Archive not found: $ARCHIVE_FILE"
167+ echo "Files in artifacts directory:"
168+ ls -la ./artifacts/
169+ exit 1
170+ fi
155171
156172 - name : Upload artifacts
157173 uses : actions/upload-artifact@v4
158174 with :
159175 name : nuggy-${{ matrix.runtime }}
160- path : ./artifacts/nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.*
176+ path : |
177+ ./artifacts/nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.zip
178+ ./artifacts/nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.tar.gz
179+ if-no-files-found : error
161180
162181 create-release :
163182 # Create GitHub releases for both tagged releases and preview releases from main
Original file line number Diff line number Diff line change 1313 <PackageReadmeFile >README.md</PackageReadmeFile >
1414 </PropertyGroup >
1515
16- <PropertyGroup Condition =" '$(PublishSingleFile)' == 'true'" >
17- <PublishTrimmed Condition =" '$(PublishTrimmed)' == ''" >true</PublishTrimmed >
18- <TrimMode Condition =" '$(TrimMode)' == ''" >link</TrimMode >
19- <EnableCompressionInSingleFile Condition =" '$(EnableCompressionInSingleFile)' == ''" >true</EnableCompressionInSingleFile >
20- <IncludeNativeLibrariesForSelfExtract Condition =" '$(IncludeNativeLibrariesForSelfExtract)' == ''" >true</IncludeNativeLibrariesForSelfExtract >
21- </PropertyGroup >
22-
2316 <ItemGroup >
2417 <PackageReference Include =" NuGet.Configuration" />
2518 <PackageReference Include =" NuGet.Protocol" />
You can’t perform that action at this time.
0 commit comments