From 26e152fbe370614e3938cc316ed0618bb6dbeabe Mon Sep 17 00:00:00 2001 From: Mike Drob Date: Mon, 3 Aug 2026 11:15:23 -0500 Subject: [PATCH] remove amazonlinux2 checkouts --- .github/workflows/swift_package_test.yml | 52 ++---------------------- 1 file changed, 4 insertions(+), 48 deletions(-) diff --git a/.github/workflows/swift_package_test.yml b/.github/workflows/swift_package_test.yml index 950b6c0c..2b1fb790 100644 --- a/.github/workflows/swift_package_test.yml +++ b/.github/workflows/swift_package_test.yml @@ -447,23 +447,12 @@ jobs: run: clang --version - name: Checkout repository uses: actions/checkout@v7 - if: ${{ matrix.os_version != 'amazonlinux2' }} - - name: Checkout repository - uses: actions/checkout@v1 - if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} + if: ${{ github.repository != 'swiftlang/github-workflows' }} uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 - with: - repository: swiftlang/github-workflows - path: ${{ github.event.repository.name }}/github-workflows - ref: main - name: Determine script-root path id: script_path run: | @@ -531,23 +520,12 @@ jobs: run: clang --version - name: Checkout repository uses: actions/checkout@v7 - if: ${{ matrix.os_version != 'amazonlinux2' }} - - name: Checkout repository - uses: actions/checkout@v1 - if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} + if: ${{ github.repository != 'swiftlang/github-workflows' }} uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 - with: - repository: swiftlang/github-workflows - path: ${{ github.event.repository.name }}/github-workflows - ref: main - name: Determine script-root path id: script_path run: | @@ -600,23 +578,12 @@ jobs: run: clang --version - name: Checkout repository uses: actions/checkout@v7 - if: ${{ matrix.os_version != 'amazonlinux2' }} - - name: Checkout repository - uses: actions/checkout@v1 - if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} + if: ${{ github.repository != 'swiftlang/github-workflows' }} uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 - with: - repository: swiftlang/github-workflows - path: ${{ github.event.repository.name }}/github-workflows - ref: main - name: Determine script-root path id: script_path run: | @@ -669,23 +636,12 @@ jobs: run: clang --version - name: Checkout repository uses: actions/checkout@v7 - if: ${{ matrix.os_version != 'amazonlinux2' }} - - name: Checkout repository - uses: actions/checkout@v1 - if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} + if: ${{ github.repository != 'swiftlang/github-workflows' }} uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - - name: Checkout swiftlang/github-workflows repository - if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 - with: - repository: swiftlang/github-workflows - path: ${{ github.event.repository.name }}/github-workflows - ref: main - name: Determine script-root path id: script_path run: |