Skip to content

Commit 064fc05

Browse files
committed
Remove custom action to setup python
1 parent 43bf6c9 commit 064fc05

File tree

3 files changed

+6
-131
lines changed

3 files changed

+6
-131
lines changed

.github/actions/setup-python/action.yml

Lines changed: 0 additions & 102 deletions
This file was deleted.

.github/workflows/swift-toolchain.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -680,10 +680,9 @@ jobs:
680680
ref: ${{ inputs.swift_revision }}
681681
path: ${{ github.workspace }}/SourceCache/swift
682682
show-progress: false
683-
- name: Setup python
684-
uses: ./SourceCache/ci-build/.github/actions/setup-python
685-
with:
686-
repo-root: ${{ github.workspace }}/SourceCache/ci-build
683+
684+
- uses: actions/setup-python@v5
685+
687686
- name: Configure Tools
688687
run: |
689688
$LLVM_EXTERNAL_SWIFT_SOURCE_DIR = cygpath -m ${{ github.workspace }}/SourceCache/swift
@@ -1172,11 +1171,7 @@ jobs:
11721171
Copy-Item -Path "${{ github.workspace }}/BinaryCache/Library/cmark-gfm-${{ inputs.swift_cmark_version }}/usr/lib/*.dylib" -Destination "${{ github.workspace }}/BuildRoot/Library/Developer/Toolchains/${{ inputs.swift_version }}+Asserts/usr/lib/swift/host/compiler"
11731172
}
11741173
1175-
- name: Setup python
1176-
uses: ./SourceCache/ci-build/.github/actions/setup-python
1177-
with:
1178-
repo-root: ${{ github.workspace }}/SourceCache/ci-build
1179-
1174+
- uses: actions/setup-python@v5
11801175
- uses: jannekem/run-python-script-action@v1
11811176
with:
11821177
script: |
@@ -1689,10 +1684,7 @@ jobs:
16891684
ndk-version: ${{ inputs.ANDROID_NDK_VERSION }}
16901685
local-cache: true
16911686

1692-
- name: Setup python
1693-
uses: ./SourceCache/ci-build/.github/actions/setup-python
1694-
with:
1695-
repo-root: ${{ github.workspace }}/SourceCache/ci-build
1687+
- uses: actions/setup-python@v5
16961688

16971689
- name: Configure LLVM
16981690
if: matrix.os != 'Android' || inputs.build_android
@@ -3468,11 +3460,7 @@ jobs:
34683460
run: |
34693461
cmake --build ${{ github.workspace }}/BinaryCache/libdispatch --target install
34703462
3471-
- name: Setup python
3472-
uses: ./SourceCache/ci-build/.github/actions/setup-python
3473-
with:
3474-
repo-root: ${{ github.workspace }}/SourceCache/ci-build
3475-
3463+
- uses: actions/setup-python@v5
34763464
- uses: jannekem/run-python-script-action@v1
34773465
if: matrix.os != 'Android' || inputs.build_android
34783466
with:

pyproject.toml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)