@@ -110,6 +110,8 @@ jobs:
110110
111111 - name : Publish single-file executable
112112 run : |
113+ echo "Publishing for runtime: ${{ matrix.runtime }}"
114+ echo "Version: ${{ steps.version.outputs.version }}"
113115 dotnet publish src/Nuggy.Cli.csproj \
114116 --configuration Release \
115117 --runtime ${{ matrix.runtime }} \
@@ -124,17 +126,33 @@ jobs:
124126 -p:FileVersion=${{ steps.version.outputs.file_version }} \
125127 -p:Version=${{ steps.version.outputs.version }}
126128
129+ - name : Debug published files
130+ run : |
131+ echo "Published files for ${{ matrix.runtime }}:"
132+ ls -la ./artifacts/publish/${{ matrix.runtime }}/
133+
127134 - name : Create archive
128135 run : |
136+ echo "Checking artifacts directory structure:"
137+ find ./artifacts -type f | head -20
138+ echo "Changing to publish directory for ${{ matrix.runtime }}..."
129139 cd ./artifacts/publish/${{ matrix.runtime }}
140+ echo "Creating archive for ${{ matrix.runtime }}..."
130141 if [[ "${{ matrix.runtime }}" == win-* ]]; then
131142 # Windows - create zip
132143 zip -r "../../../nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.zip" .
144+ echo "Created zip archive"
133145 else
134146 # Linux/macOS - create tar.gz
135147 tar -czf "../../../nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.tar.gz" .
148+ echo "Created tar.gz archive"
136149 fi
137150
151+ - name : Debug created archives
152+ run : |
153+ echo "Created archives:"
154+ ls -la ./artifacts/nuggy-${{ steps.version.outputs.version }}-${{ matrix.runtime }}.*
155+
138156 - name : Upload artifacts
139157 uses : actions/upload-artifact@v4
140158 with :
0 commit comments