Skip to content

Commit

Permalink
Update BuildDocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor authored Dec 10, 2024
1 parent f281148 commit 25328fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/BuildDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- name: Get latest Swift version
id: swift-version
run: |
DOWNLOAD=$(curl "https://raw.githubusercontent.com/apple/swift-org-website/main/_data/builds/development/xcode.yml" | yq '.[0].download')
DIR=$(curl "https://raw.githubusercontent.com/apple/swift-org-website/main/_data/builds/development/xcode.yml" | yq '.[0].dir')
DOWNLOAD=$(curl "https://raw.githubusercontent.com/apple/swift-org-website/main/_data/builds/swift-6_0-branch/xcode.yml" | yq '.[0].download')
DIR=$(curl "https://raw.githubusercontent.com/apple/swift-org-website/main/_data/builds/swift-6_0-branch/xcode.yml" | yq '.[0].dir')
echo "name=$DIR" >> $GITHUB_OUTPUT
echo "url=https://download.swift.org/development/xcode/$DIR/$DOWNLOAD" >> $GITHUB_OUTPUT
- name: Cache Swift
Expand Down

0 comments on commit 25328fe

Please sign in to comment.