Skip to content

Commit a0161c8

Browse files
committed
update workflow
1 parent 076e124 commit a0161c8

File tree

3 files changed

+8
-25
lines changed

3 files changed

+8
-25
lines changed

.github/actions/install-swift/action.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ runs:
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"

.github/workflows/build-stm32-elf.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ jobs:
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:

.github/workflows/build-stm32-macho.yml

Lines changed: 8 additions & 19 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)