Skip to content

Commit 1ec3b0f

Browse files
authored
Merge pull request #27 from pranamphd/move-up-upload-step
chore(cd): move upload artifacts above generate docc step
2 parents 83d1060 + e39d006 commit 1ec3b0f

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/swift-cd.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,14 @@ jobs:
209209
--title "$TAG" \
210210
--generate-notes
211211
212+
- name: Upload release assets
213+
env:
214+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
215+
run: |
216+
gh release upload "$TAG" \
217+
digipin-swift-${TAG}-spm-sbom.json \
218+
digipin-swift-${TAG}.doccarchive.zip
219+
212220
# -------------------------------------------------
213221
# Generate DocC (static, latest only)
214222
# -------------------------------------------------
@@ -285,14 +293,6 @@ jobs:
285293
286294
git push origin gh-pages
287295
288-
- name: Upload release assets
289-
env:
290-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
291-
run: |
292-
gh release upload "$TAG" \
293-
digipin-swift-${TAG}-spm-sbom.json \
294-
digipin-swift-${TAG}.doccarchive.zip
295-
296296
- name: Publish GitHub release
297297
if: env.TEST_MODE != 'true'
298298
env:

0 commit comments

Comments
 (0)