Skip to content

Commit eb2c0c6

Browse files
Fix swiftly installation
1 parent 929d853 commit eb2c0c6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/update-data.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ jobs:
1313
runs-on: ubuntu-22.04
1414
steps:
1515
- uses: actions/checkout@v4
16-
- run: curl -L https://swiftlang.github.io/swiftly/swiftly-install.sh | bash -s -- -y
16+
- name: Install swiftly
17+
run: |
18+
curl -L -o /tmp/swiftly.tar.gz https://download.swift.org/swiftly/linux/swiftly-0.4.0-x86_64.tar.gz
19+
tar -xzf /tmp/swiftly.tar.gz -C /usr/local/bin/
20+
swiftly init -y --skip-install
1721
- name: Run data update scripts
1822
run: |
19-
source $HOME/.local/share/swiftly/env.sh
23+
source "$HOME/.local/share/swiftly/env.sh"
2024
python ./tools/update-builds.py
2125
python ./tools/update-tag-by-version.py
2226

0 commit comments

Comments
 (0)