Skip to content

Commit

Permalink
Merge pull request #8403 from SwiftPackageIndex/update-artifacts-actions
Browse files Browse the repository at this point in the history
Update upload/download artifacts to v4
  • Loading branch information
finestructure authored Nov 6, 2024
2 parents 24cbbbf + 6b699f0 commit 9f25daf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
33 changes: 19 additions & 14 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
swift build
cp $(swift build --show-bin-path)/validator $GITHUB_WORKSPACE/
- name: Upload artifacts
uses: actions/upload-artifact@v3
- name: Upload validator
uses: actions/upload-artifact@v4
with:
path: |
validator
name: validator
path: validator


check_redirects:
Expand All @@ -41,10 +41,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v3
- name: Download validator
uses: actions/download-artifact@v4
with:
name: artifact
name: validator

- name: Check redirect
uses: nick-fields/retry@v2
Expand All @@ -58,11 +58,11 @@ jobs:
echo "diff packages.json redirect-checked.json"
diff packages.json redirect-checked.json || true
- name: Upload artifacts
uses: actions/upload-artifact@v3
- name: Upload redirect-checked.json
uses: actions/upload-artifact@v4
with:
path: |
redirect-checked.json
name: redirect-checked.json
path: redirect-checked.json


check_dependencies:
Expand All @@ -75,10 +75,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Download artifacts
uses: actions/download-artifact@v3
- name: Download validator
uses: actions/download-artifact@v4
with:
name: artifact
name: validator

- name: Download redirect-checked.json
uses: actions/download-artifact@v4
with:
name: redirect-checked.json

- name: Check dependencies
uses: nick-fields/retry@v2
Expand Down
1 change: 1 addition & 0 deletions packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -6721,6 +6721,7 @@
"https://github.com/spilikin/swiftxmltools.git",
"https://github.com/Spinners/Spin.Swift.git",
"https://github.com/splitio/ios-client.git",
"https://github.com/spotify/ios-sdk.git",
"https://github.com/spotify/Mobius.swift.git",
"https://github.com/spotify/XCMetrics.git",
"https://github.com/spotify/XCRemoteCache.git",
Expand Down

0 comments on commit 9f25daf

Please sign in to comment.