File tree Expand file tree Collapse file tree 3 files changed +8
-25
lines changed
Expand file tree Collapse file tree 3 files changed +8
-25
lines changed Original file line number Diff line number Diff line change 6060 if : runner.os == 'macOS' && steps.cache-swift.outputs.cache-hit != 'true'
6161 shell : bash
6262 run : |
63- set -ex
64-
6563 SWIFTLY_VERSION=1.0.1
6664 SWIFTLY_PKG=swiftly-$SWIFTLY_VERSION.pkg
6765 curl -O "https://download.swift.org/swiftly/darwin/$SWIFTLY_PKG"
Original file line number Diff line number Diff line change 2121 - name : Checkout repo
2222 uses : actions/checkout@v4
2323
24- - name : Fixup for running locally in act
25- if : ${{ env.ACT }}
26- run : echo /opt/acttoolcache/node/18.20.8/x64/bin >> $GITHUB_PATH
27-
2824 - name : Set up Python
2925 uses : actions/setup-python@v5
3026 with :
Original file line number Diff line number Diff line change @@ -21,27 +21,16 @@ jobs:
2121 - name : Checkout repo
2222 uses : actions/checkout@v4
2323
24- - name : Install Swift
25- uses : ./.github/actions/install-swift
26-
27- - name : Validate Swiftly Paths
28- run : |
29- set -x
30- set +e
31-
32- env
24+ - name : Set up Python
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version : 3.11
3328
34- cat $HOME/.bashrc
29+ - name : Install uv
30+ uses : astral-sh/setup-uv@v5
3531
36- echo "Swiftly Path: $SWIFTLY_HOME_DIR"
37- echo "Swiftly Bin Path: $SWIFTLY_BIN_DIR"
38- echo "Swiftly Lib Path: $SWIFTLY_TOOLCHAINS_DIR"
39-
40- ls -asl $SWIFTLY_HOME_DIR
41- ls -asl $SWIFTLY_BIN_DIR
42- ls -asl $SWIFTLY_TOOLCHAINS_DIR
43-
44- ls -asl $HOME/.local/share/swiftly
32+ - name : Install Swift
33+ uses : ./.github/actions/install-swift
4534
4635 - name : Build ${{ matrix.example }}
4736 working-directory : ${{ matrix.example }}
You can’t perform that action at this time.
0 commit comments