File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -165,15 +165,26 @@ jobs:
165
165
- name : Publish & tag (patch bump)
166
166
run : cargo release minor --no-confirm --execute --allow-branch main
167
167
168
+ - name : Create temporary directory for artifacts
169
+ run : mkdir -p ${{ runner.temp }}/artifacts
170
+
168
171
- name : Download all artifacts
169
- run : gh run download ${{ github.run_id }}
172
+ run : gh run download ${{ github.run_id }} --dir ${{ runner.temp }}/artifacts
170
173
171
174
- name : Zip each downloaded directory
172
175
run : |
173
176
for dir in $(ls -d git-ai-*); do
174
177
tar -czf ${dir}.tar.gz ${dir}
175
178
done
176
179
180
+ - name : Verify artifact contents
181
+ run : |
182
+ if [ ! -d "${{ runner.temp }}/artifacts" ]; then
183
+ echo "Artifacts directory not found!" >&2
184
+ exit 1
185
+ fi
186
+ # Add additional verification logic here if needed
187
+
177
188
- name : Get version
178
189
id : app
179
190
run : echo "version=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments