From 2576a78820463768d414125ffbde69311e2c6e3d Mon Sep 17 00:00:00 2001 From: Nan Wang Date: Tue, 29 Aug 2023 22:40:45 -0700 Subject: [PATCH] Revert "Use checkout@v3 for node16 runtime" Accidentally committed to master. This reverts commit 07c52c0f6ef754157018b89d7837188e3b52c87e. --- .github/workflows/PR.yml | 15 +++++++++------ .github/workflows/master.yml | 15 +++++++++------ .github/workflows/release.yml | 15 +++++++++------ 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/.github/workflows/PR.yml b/.github/workflows/PR.yml index 152642c3..1aae2bed 100644 --- a/.github/workflows/PR.yml +++ b/.github/workflows/PR.yml @@ -8,14 +8,15 @@ jobs: name: Instance Test 1 runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests1 - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bp-tests1 path: build/**/*.xcresult @@ -26,14 +27,15 @@ jobs: name: Instance Test 2 runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests2 - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bp-tests2 path: build/**/*.xcresult @@ -44,14 +46,15 @@ jobs: name: Bluepill Test and build runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh runner_tests - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bluepill-tests path: build/**/*.xcresult diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index c877701a..b28b613f 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -13,14 +13,15 @@ jobs: name: Instance Test 1 runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests1 - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bp-tests1 path: build/**/*.xcresult @@ -31,14 +32,15 @@ jobs: name: Instance Test 2 runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests2 - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bp-tests2 path: build/**/*.xcresult @@ -49,14 +51,15 @@ jobs: name: Bluepill Test and build runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh runner_tests - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bluepill-tests path: build/**/*.xcresult diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fab04d8..ab634754 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,14 +11,15 @@ jobs: name: Instance Test 1 runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests1 - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bp-tests1 path: build/**/*.xcresult @@ -29,14 +30,15 @@ jobs: name: Instance Test 2 runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the SHA1 because tags can be re-written in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Select Xcode 14.0 run: sudo xcode-select -s /Applications/Xcode_14.0.app - name: Run Bluepill tests run: ./scripts/bluepill.sh instance_tests2 - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bp-tests2 path: build/**/*.xcresult @@ -47,7 +49,8 @@ jobs: name: BP Test and build runs-on: macos-12 steps: - - uses: actions/checkout@v3 + # actions/checkout@v2 but we use the sha because tags can be rewritten in git + - uses: actions/checkout@722adc63f1aa60a57ec37892e133b1d319cae598 - name: Report event trigger data run: | echo "Event ${{ github.event_name }}, ref: ${{ github.ref }}" @@ -57,7 +60,7 @@ jobs: run: ./scripts/bluepill.sh runner_tests - name: Capture xcresult files if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v2 with: name: xcresults-bluepill-tests path: build/**/*.xcresult