Skip to content

Commit 85510a9

Browse files
committed
Give the uploaded artifacts unique names to avoid collisions
1 parent f2033d4 commit 85510a9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/build_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ jobs:
2828
- name: Upload Release Artifact
2929
uses: actions/upload-artifact@v4
3030
with:
31+
name: swiftly-release-x86_64
3132
path: .build/release/swiftly-*.tar.gz
3233
if-no-files-found: error
3334
- name: Build Documentation Artifacts
3435
run: swift package --allow-writing-to-directory .build/docs generate-documentation --target SwiftlyDocs --output-path .build/docs
3536
- name: Upload Documentation Artifacts
3637
uses: actions/upload-artifact@v4
3738
with:
39+
name: swiftly-docs
3840
path: .build/docs/**
3941
if-no-files-found: error

.github/workflows/pull_request.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
- name: Upload Artifact
4444
uses: actions/upload-artifact@v4
4545
with:
46+
name: swiftly-release-x86_64
4647
path: .build/release/swiftly-*.tar.gz
4748
if-no-files-found: error
4849
retention-days: 1
@@ -75,6 +76,7 @@ jobs:
7576
- name: Upload Documentation Artifacts
7677
uses: actions/upload-artifact@v4
7778
with:
79+
name: swiftly-docs
7880
path: .build/docs/**
7981
if-no-files-found: error
8082
retention-days: 1

0 commit comments

Comments
 (0)