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 60
60
if : runner.os == 'macOS' && steps.cache-swift.outputs.cache-hit != 'true'
61
61
shell : bash
62
62
run : |
63
- set -ex
64
-
65
63
SWIFTLY_VERSION=1.0.1
66
64
SWIFTLY_PKG=swiftly-$SWIFTLY_VERSION.pkg
67
65
curl -O "https://download.swift.org/swiftly/darwin/$SWIFTLY_PKG"
Original file line number Diff line number Diff line change 21
21
- name : Checkout repo
22
22
uses : actions/checkout@v4
23
23
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
-
28
24
- name : Set up Python
29
25
uses : actions/setup-python@v5
30
26
with :
Original file line number Diff line number Diff line change @@ -21,27 +21,16 @@ jobs:
21
21
- name : Checkout repo
22
22
uses : actions/checkout@v4
23
23
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
33
28
34
- cat $HOME/.bashrc
29
+ - name : Install uv
30
+ uses : astral-sh/setup-uv@v5
35
31
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
45
34
46
35
- name : Build ${{ matrix.example }}
47
36
working-directory : ${{ matrix.example }}
You can’t perform that action at this time.
0 commit comments